View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77