Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_2

Step: 3

blur-text-image_3

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

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

Students also viewed these Databases questions

Question

What are roll- forward procedures? Provide some examples.

Answered: 1 week ago

Question

=+ a. How does this change affect the incentives for working?

Answered: 1 week ago