**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();
}
0 comments:
Post a Comment