View Code of Problem 54

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

int main(){
	char s[1000];
	scanf("%s",s);
	int i;
	for(i=0;i<strlen(s);i++){
		printf("%c",s[i]);
		if(i!=strlen(s)-1) printf(" "); 
	}
}

Double click to view unformatted code.


Back to problem 54