View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77