Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a Java program that prompts the user for three inputs: The students grade. (0-100) If the student is a graduate. (Y/N) The students age.

Write a Java program that prompts the user for three inputs:

The students grade. (0-100)

If the student is a graduate. (Y/N)

The students age.

If the student is a graduate student and they are over 23 years old, reduce the grade they enter by 9.5%, because we have a higher expectation for graduate students, in an undergraduate class.

The program will compute, and print the letter grade based on the scale below.

90-100 A

80-89 B

70-79 C

60-69 D

0-60 F

The program also provides feedback based on the letter grade the student receives.

For an A letter grade, print: Excellent

For a B letter grade, print: Very Good

For a C letter grade, print: Good

For a D letter grade, print: Good Try

For an F letter grade, print: Please Ask For Help

Use Java formatting tools to output the students age, graduate status, letter grade and feedback.

Submit a single unzipped .java file to Blackboard.

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

Step: 3

blur-text-image

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

More Books

Students also viewed these Databases questions