Search Your Keyword

A One Massage for users

C Program BD say you

Hi, If you are new in our blog and to get support about C program, than you must select your level from right side in this blog.Such as, If you want to learn than you select Entry Level for learning and If you are known the basic of C program than you select Solution Level.


Saturday, September 14, 2019

Q8. Write a program that a five digit interger number from key - board and then display it is reverse order.

Five digit display it is reverse order:-
#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