Question: Write a java program that displays a student's status based on the following codes: Code Student Status 1 Freshman 2 Sophomore 3 Junior 4 Senior

Write a java program that displays a student's status based on the following codes:

Code Student Status
1 Freshman
2 Sophomore
3 Junior
4 Senior

Your program should accept the code number as a user-entered input value and based on this value display the correct student status. If an incorrect code is entered, your program should display the string "An incorrect code was entered".

Step by Step Solution

3.37 Rating (156 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CODE import javaio import javautil class CodeStatus public static void mainStrin... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!