Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Quincy Write a program to calculate the sum, max, min, and average of a list of integer numbers entered by the user, and counts

Using Quincy
image text in transcribed
Write a program to calculate the sum, max, min, and average of a list of integer numbers entered by the user, and counts how many are above average. The user enters -99 to stop the entering list. The program assumes less than MAXSCORES values where MACXSCORES is a constant number. Here is a sample run: Please enter a number (or -99 to stop): 12 Please enter a number (or -99 to stop): 14 Please enter a number (or -99 to stop): 17 Please enter a number (or -99 to stop): 24 Please enter a number (or -99 to stop): 45 Please enter a number (or -99 to stop): -99 Sum = 112 Count = 5 Min = 12. Max = 45 Average = 22.4 Over Average = 2

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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions