View Code of Problem 77

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main() {
	char a[10];
	int i;
	scanf("%s",&a);
	int l=strlen(a);
	for(i=0;i<l-1;i++){
		printf("%c ",a[i]);
	}
	printf("%c",a[l-1]);
}

Double click to view unformatted code.


Back to problem 77