PropellerAds
Posted by : Unknown Monday, 22 December 2014

#include<stdio.h>
#include<conio.h>

void main(){
int a;
int b;

printf("Enter the number You want to reverse: ");
scanf("%d", &a);

printf("\nNumber you Entered is: ");

b = printf("%d", a);
printf("\nIts reverse is: ");

for (int i = 0; i < b; i++){
printf("%d", a%10);
a /= 10;
}

_getch();
}

Leave a Reply

Subscribe to Posts | Subscribe to Comments

PropellerAds
PropellerAds

Popular Post

Powered by Blogger.

- Copyright © BSCS -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -