Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

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

T Sql Fundamentals

Authors: Itzik Ben Gan

4th Edition

0138102104, 978-0138102104

Students also viewed these Databases questions