Programming Languages

PROGRAM TO ENTER THE REVERSE NUMBER OF 12345

/* PROGRAM TO ENTER THE REVERSE NUMBER OF 12345 */

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

void main()
{
int n=12345,r;
clrscr();
printf(” \n\nTHE REVERSE OF 12345 IS : “);
while(n>0)
{
r=n%10;
printf(“%d”,r);
n=n/10;
}
getch();
}

ANIL VERMA
Hello Everyone, Welcome to A. V. Powertech.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.