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

Popular posts from this blog

HERE IS ALL THE C CODE I CREATED

C sum all values output valus using for loop