View Code of Problem 77

#include<stdio.h>
main()
{
	int n,i,o,tw,t,f;
	scanf("%d",&n);
	f=n%10;
	t=(n/10)%10;
	tw=(n/100)%10;
	o=(n/1000)%10;
	printf("%d %d %d %d",o,tw,t,f);
}

Double click to view unformatted code.


Back to problem 77