View Code of Problem 54

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

int main(){
	int i;
	char str[100];
	gets(str);
	for(i=0;str[i]!='\0';i++)
	{
		printf("%c",str[i]);
		if(str[i+1]!='\0');
		printf(" ");
	}
	
}

Double click to view unformatted code.


Back to problem 54