C Program to reverse the given Number | Reverse the given number in C | C Language assignment to reverse given number
/* wap yo find the reverse of the no.*/ #include#include int main() { int a,b=0; clrscr(); printf("enter the no."); scanf("%d",&a); while(a>0) { b=a%10; printf("%d",b); a=a/10; } getch(); return 0; }
No comments:
Post a Comment