Question

Total Sales Design a program that asks the user to enter a store’s sales for each...

Total Sales

Design a program that asks the user to enter a store’s sales for each day of the week. The amounts should be stored in an array. Use a loop to calculate the total sales for the week and display the result.

Need: variable lists, IPO Chart, pseudocode, Flowchart, and working Python code.

2.

Lottery Number Generator

Design a program that generates a 7-digit lottery number. The program should have an Integer array with 7 elements. Write a loop that steps through the array, randomly generating a number in the range of 0 through 9 for each element. (Use the random function that was discussed in Chapter 6.) Then write another loop that displays the contents of the array.

Need: variable lists, IPO Chart, pseudocode, Flowchart, and working Python code.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Module main dey, monday asd uAda oedare Real sales ecae Real houl sales sel index ease GAey the o iaderj end module

Add a comment
Know the answer?
Add Answer to:
Total Sales Design a program that asks the user to enter a store’s sales for each...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT