#include<stdio.h>
#include<conio.h>
void main()
{
int a, i, c;
clrscr();
printf("Enter the value of a: ");
scanf("%d", &a)
printf("\n Reverse order of this number: -");
while(a>0)
{
c = a % 10;
printf("\n %d", c);
a=a/10;
delay(100);
}
getch();
}
Five digit display it is reverse order
C program for reverse order, reversing five number in c programming language,C programming, c program for reverse order for number
No comments:
Post a Comment