Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise #1: Design and implement a program (name it ProcessGrades) that reads from the user four integer values between 0 and 100, representing grades. The

Exercise #1: Design and implement a program (name it ProcessGrades) that reads from the user four integer values between 0 and 100, representing grades. The program then, on separate lines, prints out the entered grades followed by the highest grade, lowest grade, and averages of all four grades. Format the outputs following the sample runs below.

Sample run 1:

You entered: 95, 80, 100, 70

Highest grade: 100

Lowest grade: 70

Average grade: 86.25

Sample run 2:

You entered: 50, 86, 63, 72

Highest grade: 86

Lowest grade: 50

Average grade: 67.75

Sample run 3:

You entered: 70, 70, 70, 70

Highest grade: 70

Lowest grade: 70

Average grade: 70.00

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

Database Design And SQL For DB2

Authors: James Cooper

1st Edition

1583473572, 978-1583473573

More Books

Students also viewed these Databases questions