View Code of Problem 77

#include<stdio.h>
#include<cstdlib>
#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std;
typedef long long ll;
int main(){
     int n;
     char a[20];
     gets(a);
     int i=0;
     while(a[i] != '\0'){
     	if(i==0) printf("%c",a[i]);
     	else     printf(" %c",a[i]);
     	i++;
	 }
	 
	return 0;
}

Double click to view unformatted code.


Back to problem 77