#include <stdio.h>
#include <stdlib.h>
int main()
{
int a;
printf("enter a three digit code\n");
scanf("%d",&a);
printf("%d\t%d\t%d\n",a%10,a%100/10,a%1000/100);
system("PAUSE");
return 0;
}
#include <stdlib.h>
int main()
{
int a;
printf("enter a three digit code\n");
scanf("%d",&a);
printf("%d\t%d\t%d\n",a%10,a%100/10,a%1000/100);
system("PAUSE");
return 0;
}
No comments:
Post a Comment