Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please solve in java Write a program to display a message telling the educational level of a student based on his or her number of

Please solve in java

Write a program to display a message telling the educational level of a student based on his or her number of years of schooling. The user should enter a number indicating the number of years of schooling. The program should then respond with the appropriate message.

image text in transcribed

Each time you run this program, a single line (one of the 5 messages) gets printed. Turn in your source code and your output. A single output is sufficient.

if years of schooling is the message should be less than or equal to 0 none 1 -6 elementary school middle school high school college 9 12 12

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To Database 2

Authors: Bruce L. Larson

1st Edition

0070232679, 978-0070232679

More Books

Students also viewed these Databases questions