Question: Java Program - In a comment, give a general explanation of what your program does. As the programming questions get more complex, the explanations will

Java Program

- In a comment, give a general explanation of what your program does. As the programming questions get more complex, the explanations will get lengthier.

- Include comments in your program describing the main steps in your program. Focus in your comments rather on the why than the how.

- Display a welcome message.

- Display clear prompts for users when you are expecting the user to enter data from the keyboard.

- All output should be displayed with clear messages and in an easy to read format.

- End your program with a closing message so that the user knows that the program has terminated.

Java program should follow the following rules:

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.

If the user enters correct information, your program should display the letter grade based on the score.

When the letter grade is displayed, the output should be FirstName LastName got SCORE.

Based on the grading system, FirstName (ID) will probably get X.

Please note, score >= 80, X = A, with the output message Congratulations!;

score >= 70, X = B, with the output message You are so close to A!; s

core >= 60, X = C, with the output message You can do better by more practice!;

score < 60, X = FNS, with the output message Please work harder to pass the course!;

Your program should be able to ask user for new input of users information for estimation until get the input Yes from the user.

Display welcome & closing messages.

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!