Facebook

adsense

Saturday, 28 February 2015

Small but really Interesting Program "INVERT NUMBER"

#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;
}

No comments:

Post a Comment