Question: Your program should follow the following rules: (USING JAVA PROGRAMMING) Prompt the user to enter name, id and score and validates the information. The student

Your program should follow the following rules: (USING JAVA PROGRAMMING)

Prompt the user to enter name, id and score and validates the information.

The student name should be entered as LastName, FirstName (separated by comma).

Please note the whole name should be saved in one string.

The student ID must have 7 digits.

The students SCORE must greater or equal to 0 and less or equal to 100.

If the user enters invalid information, your program should repeat the current question.

Output should look like this:

Please enter your name: Jack, Sparrow

Please enter your ID without any spaces: 123

Please enter your ID without any spaces (7 digits): 1234567

Please enter your score: 90

Jack Sparrow got 90!

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!