> WHILE LOOP PROGRAMMING USING C ~ Online tutorial

WHILE LOOP PROGRAMMING USING C

**WHILE LOOP PROGRAME**
=======================

#include<studio.h>
#include<conio.h>
void main()
{
int a,b=0,c;
clrscr();
printf("\n a= ");
scanf("%d",&a);
while(a>0)
{
c=a%10;
printf("\n %d%d", c,b);
b=b*10+c;
a=a/10;
printf("%d",a);
getch();
}
printf("%d",b);
getch();
}

Please Give Us Your 1 Minute In Sharing This Post!
Please Give Us Your 1 Minute In Sharing This Post!
SOCIALIZE IT →
FOLLOW US →
SHARE IT →
Powered By: BloggerYard.Com

0 comments: