this is the question :
Write C++ a program that reads a person's age in years and print his/her age group. See the table below.
Age------------Group name
1 year---------Childhood
2-3 years------Infancy
4-5 years------Preschool-Age
6–12 years-----School-Age
13–17 years----Adolescence
18–29 years----Young-Adulthood
30–39 years----Thirties
40–64 years----Middle-Age
56–48 years----Aged
85 years ------Very-Old
You HAVE to using switch statement.
and the answer in the first comment.