C code of check student class categeri with student age
#include<stdio.h>
int main()
{
int age;
printf("enter number:");
scanf("%d",&age);
if (age>=18)
{
printf("COLLEGE BOYES \n");
}
else if(age>8 && age<18)
{
printf("Scholl boy\n");
}
else
{
printf(" LKG TO UKG BOY\n");
}
printf("thankyou");
return 0;
}
Comments
Post a Comment