Question: C programming Write a program that will prompt a user to enter someone's age. Then read that value into a variable of type int. The
Write a program that will prompt a user to enter someone's age. Then read that value into a variable of type int. The program will then print a statement to the screen as follows depending on the person's age: Age is 50 or higher Between 40 and 50 Between 30 and 40 Less than 30 Print "You are over 50" Print "You are in your forties" Print "You are in your thirties" Print "You are really young!" Test your program with the following ages: 62 24 42 e Previous
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
