View Code of Problem 77

#include <stdio.h>
int main()
{
	int k,a,b,c,d;
	scanf("%d",&k);
	a = k/1000;
	b = k%1000/100;
	c = k%100/10;
	d = k%10;
	printf("%d %d %d %d",a,b,c,d);
	return 0;
}

Double click to view unformatted code.


Back to problem 77