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 Systems For Advanced Applications 27th International Conference Dasfaa 2022 Virtual Event April 11 14 2022 Proceedings Part 2 Lncs 13246

Authors: Arnab Bhattacharya ,Janice Lee Mong Li ,Divyakant Agrawal ,P. Krishna Reddy ,Mukesh Mohania ,Anirban Mondal ,Vikram Goyal ,Rage Uday Kiran

1st Edition

3031001257, 978-3031001253

More Books

Students also viewed these Databases questions