Write an interactive program prompts the user to enter their age and then tells them how they fit on the CSC100/CIS162 Age-O-Meter.
If a negative age is entered, then print an error message to the standard error stream and exit the program using EXIT_FAILURE.
The CSC100/CIS162 Age-O-Meter is scaled as follows:
0..2 baby
3..12 kid
13..19 teenager
20..29 young adult
30..39 adult
40..81 prime time
82..99 old
100 or greater is ancient
Your program should print one line to the standard output stream ever time it is executed with valid input.
Example Output
The program prompt is Enter an age:. For documentation purposes, user inputs are display in italics.
Enter an age: -5
-5 is not a valid age.
Enter an age: 1
You are 1 year old and you are a baby.
Enter an age: 2
You are 2 years old and you are a baby.
Enter an age: 14
You are 14 years old and you are a teenager.
Enter an age: 44
You are 44 years old and you are in prime time.
Enter an age: 110
You are 110 years old and you are ancient.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
## Platform
windows XP