Question: Program 0 1 : You work for a bookstore and are responsible for keeping track of the number of books sold on a weekly basis.
Program :
You work for a bookstore and are responsible for keeping track of the number of
books sold on a weekly basis. At the end of the week, you need to enter the
number of books sold each day of the week and determine the following on a
weekly basis:
Total number of books sold that week
The highest number of books sold that week
The lowest number of books sole that week
The average number of books sold that week
You need to use While' loop to allow the user to enter the books sold each day
of the week.
For example, if on day one you sold books, day two you sold books, day three
you sold book, day four you sold books, day five you sold books, day six you
sold zero books, and day seven you sold books, this would total books sold
that week. In addition to that, the highest number of books sold that week is
and the lowest number of books sold that week is zero. The average number of
books of books sold that week is books.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
