View Code of Problem 77

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



int main() {
	char a[5];
	scanf("%s",a);
	for (int i = 0;i < 4;i++) {
		if (i == 3)
			printf("%c\n", a[i]);
		else
			printf("%c ", a[i]);
	}

}

Double click to view unformatted code.


Back to problem 77