void main()
{
int age=0;
clrscr();
printf("\nEnter the Age:");
scanf("%d",&age);
if(age<4)
{
printf("\n\tInfant");
}
else if(age<8)
{
printf("\n\tKids");
}
else if(age<13)
{
printf("\n\tChild");
}
else if(age<20)
{
printf("\n\tTeenager");
}
else if(age<26)
{
printf("\n\tYoun Man");
}
else if(age<41)
{
printf("\n\tMan");
}
else if(age>41)
{
printf("\n\tOld main");
}
getch();
}
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment