View Code of Problem 54

#include<stdio.h>
#include<string.h>
int main()
{
	char a[1000];
	gets(a);
	int len = strlen(a);
	for (int i = 0; i < len-1; i++)
	{
		printf("%c ", a[i]);
	}
	printf("%c", a[len - 1]);
	return 0;
}

Double click to view unformatted code.


Back to problem 54