View Code of Problem 77

#include <stdio.h>
int main()
{
	char str[4];
	
	gets(str);
	
	int i;
	for(i=0;i<4;i++)
	{
		if(str[i+1]!='\0'){	
			printf("%c ",str[i]);
		}else{
			printf("%c",str[i]);	
		}
	}

	return 0;
}

Double click to view unformatted code.


Back to problem 77