Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a program that gets quarterly sales from a user and calculates the total of all four quarters as well as the average, lowest, and

Create a program that gets quarterly sales from a user and calculates the total of all four
quarters as well as the average, lowest, and highest quarters.
Console
The Quarterly Sales program
Enter sales for Q1: 12312.57
Enter sales for Q2: 15293.21
Enter sales for Q3: 14920.95
Enter sales for Q4: 23432.21
Total: 65958.94
Average Quarter: 16489.74
Lowest Quarter: 12312.57
Highest Quarter: 23432.21
Specifications
Use a list to store the sales for each quarter.
Round the results of each entry to a maximum of 2 decimal digits.

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

More Books

Students also viewed these Databases questions