Computer Science, asked by kasivis17, 5 days ago

write a c ++ program to accept the age and print whether the person is major or minor​ ​

Answers

Answered by bhaskerkoti
0

Answer:

#include <stdio.h>

int main ()

{

int age;

if (age>30)

{

printf (" person is minor");

}

else

{

printf ("person is major");

}

return0;

}

I wrote the program in c language

Similar questions