C program for While Loop | While loop in C Language
C Program for While Loop :
C program Output :
Copy from below :
#include<stdio.h>
#include<conio.h>
int main()
{
int num,r;
printf("enter any number : \n");
scanf("%d",&num);
printf("Reverse number is : \n");
while(num!=0)
{
r=num%10;
printf("%d",r);
num=num/10;
}
}
For more C program :
Download pdf file :
0 Comments
Thanks for comments.......your comment is very valueable for us.Thanks for joining us.