View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77