Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java An improvement on the grading program. Write a program that asks the user to enter any number of grades and maintain a running list

Java

An improvement on the grading program. Write a program that asks the user to enter any number of grades and maintain a running list of statistics. Use the sentinel flag of -1 to signify conclusion of data entry. Display outputs as specified below.

Requirements:

-Use the WHILE LOOP, NO ARRAY for this task.

-Exit the program if a -1 sentinel value is entered

-After each grade is entered, add this to a running subtotal of grades

-Maintain a count of the grades entered

-Determine number of grades enter and display

-Determine the highest grade entered and display

-Determine the lowest grade entered and display

-Calculate the average grade and display

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions