Menu

Write A Program That Takes An Integer As Input, Representing A Year In School. Output “Elementary School” For 0-5, “Middle School” For 6-8, “High School” For 9-12, “College” For 13-16, And “Post-Secondary” For 17 And Higher. Output “Invalid” For Negative Input. If The Input Is 7, The Output Is:

Write A Program That Takes An Integer As Input, Representing A Year In School. Output “Elementary School” For 0-5, “Middle School” For 6-8, “High School” For 9-12, “College” For 13-16, And “Post-Secondary” For 17 And Higher. Output “Invalid” For Negative Input. If The Input Is 7, The Output Is:

student submitted image, transcription available belowin C++ please

 

Expert Answer

Step 1

The task is to create a C++ program that categorizes a student’s school level based on their year

OR