View Code of Problem 77

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

Double click to view unformatted code.


Back to problem 77