View Code of Problem 54

#include<stdio.h> 
#include<string.h>
#include<math.h>

int main(){ 
    char a[100];
    gets(a);
    int n=strlen(a);
    for(int i=0;i<n-1;i++){
    	printf("%c",a[i]);
    	printf(" ");
	}
	printf("%c",a[n-1]);
	
    return 0; 
     
}

Double click to view unformatted code.


Back to problem 54