Question: Write a program that stores the sales a store makes for each day of the week. These should be stored in a list. Calculate the
Write a program that stores the sales a store makes for each day of the week. These should be stored in a list. Calculate the total sales for the week and display the total sales as output to the user. Sample Output: - RESTART: C:\Users\com290\Google Drive Spring 2020 Temporary Folder\CSE 1284 Sp ring 2020 Exercises Exercise 4\Exercise 4.DY Enter the sales for Sunday: 0 Enter the sales COE Monday: 67 Enter the sales tor Tuesday: 890 Enter the sales for Wednesday: 450 Enter the sales for Thursday: 321.23 Enter the sales for Friday: 451.89 Enter the sales for Saturday: 661.02 The total sales for the week 1: Hint: 1. Use the append statement we learned about in Slides 23 and 24 in the Lists slides to attach each sale to the sales list. 2. Use the sum operation from the Problem-solving activity to total up all the sales in the sales list
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
