write a c ++ program to accept the age and print whether the person is major or minor
Answers
Answered by
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