Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Test Score Average Program Java 1. Welcome user and prompt them for first and last name 2. Prompt user for first test score 3. Ask

Test Score Average Program Java 1. Welcome user and prompt them for first and last name

2. Prompt user for first test score

3. Ask user if they would like to enter another

4. If yes, prompt user for another test score

5. Keep asking user for test score until they enter no

6. Calculate and display average of entered test score along with letter grade (A, B, C, D, F) and user first and last name

7. Please use if, while, loop statements

Sample Output:

Welcome! This program will calculate the average of your test scores.

Please enter your first name: John

Please enter your last name: Davison

Please enter your first test score: 89

Would you like to enter another? (y/n): y

Please enter your test score: 78

Would you like to enter another? (y/n): n

John Davison, your test score average is: 83.5 (B)

Thank you for using this program!

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

Next Generation Databases NoSQLand Big Data

Authors: Guy Harrison

1st Edition

1484213300, 978-1484213308

More Books

Students also viewed these Databases questions