View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77