> BETWEEN NUMBERS USING C ~ Online tutorial

BETWEEN NUMBERS USING C

**BETWEEN NUMBERS**
====================

#include<studio.h>
#include<conio.h>
void main()
{
int a;
clrscr();
printf("\n a= ");
scanf("%d", &a);
if (a==1)
{
printf("\n one");
}
elseif(a==2)
{
printf("\n two");
}
elseif(a==3)
{
printf("\n three");
}
elseif(a==4)
}
printf("\n four");
}
elseif(a==5)
{
printf("\n five");
}
else
{
printf("\n The Number is not between 1 to 5");
}
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: