hey guys..I'm trying to teach myself to writee code using C. The program I am working on now is to write a program that prompts a user for his/her age and then prints a message
based upon the age range that the user’s age falls into
here is the age rages...
Age Range Output
0 < age ≤ 20 You are a child.
20 < age ≤ 40 You are a young adult.
40 < age ≤ 60 You are a middle-aged adult.
60 < age You are old.
#include <stdio.h>
int main( void )
{
int age;
printf("what is your age? ");
scanf("%d", &age);
}
this is what I have so far