Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design a program that asks the user to enter the monthly sales values for six months.The program should store the monthly sales values in a

Design a program that asks the user to enter the monthly sales values for six months.The program should store the monthly sales values in a list using a loop and then display the following:

  • The lowest monthly sales value
  • The highest monthly sales value
  • Total sales for 6 months
  • The average sales for 6 months

Save the program as monthlysaleslist.py

Plan the programs using a flowchart or pseudocode.The plan does not have to be submitted.

Sample Input:

Enter sales for month 1: 25000

Enter sales for month 2: 17250

Enter sales for month 3: 15780

Enter sales for month 4: 16254

Enter sales for month 5: 28650

Enter sales for month 6: 20150

Sample Output:

Lowest Monthly Sales:$15,780.00

Highest Monthly Sales:$ 28,650.00

Total Sales:$ 123,084.00

Average Monthly Sales: $ 20,514.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

Financial management theory and practice

Authors: Eugene F. Brigham and Michael C. Ehrhardt

12th Edition

978-0030243998, 30243998, 324422695, 978-0324422696

Students also viewed these Programming questions

Question

Name the six functional activities of the digestive system.

Answered: 1 week ago