Question: In java writing Student Major and status - Indexing methods 3points Write a program that prompts the user to enter two characters and displays the

In java writing

Student Major and status - Indexing methods 3points

Write a program that prompts the user to enter two characters and displays the major and status represented in the characters. The first character represents a major and second is a number 1, 2, 3 or 4 which indicates whether a student is Freshman, Sophomore, Junior or Senior. The first Character will be M : Maths, C : Computer Science, I: Information tech.

Output Should look like this Enter two characters: D3 Invalid input: Wrong major code Enter two characters: M2 Mathematics Sophomore

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!