Keeps track of the peak number of orders

Status
Not open for further replies.

Pink_Flower

Junior Member
Joined
Apr 15, 2020
Member Type
Student or Learner
Native Language
Persian
Home Country
Iran
Current Location
United States
I am writing a computer program and the professor asked us to implement the following structure using programming:

Stand (hot dog stand) class - holds and manages Orders
i. Use a double linked list to manage Orders
1. With next and prev links
ii. Create a Stand then add or remove Orders to the stand
1. Add(...) - add Orders
2. Remove(...) - remove Orders
iii. Keeps track of the current number of orders
iv. Keeps track of the peak number of orders


What does peak number of orders mean?
 
You need to ask your professor. The meaning is not clear.
It could mean the highest number of orders received/fulfilled in a day/week/month, but I'm just guessing.
 
Not a teacher. Not a computer scientist.
------


It looks like the professor wants your program to remember both the current number of orders and the highest number of orders.

Monday: 12 | Peak: 12 (Monday)
Tuesday: 15 | Peak: 15 (Tuesday)
Wednesday: 10 | Peak: 15 (Tuesday)
Thursday: 14 | Peak: 15 (Tuesday)
Friday: 17 | Peak: 17 (Friday)
Saturday: 16 | Peak: 17 (Friday)
Sunday: 11 | Peak: 17 (Friday)
 
Status
Not open for further replies.

Ask a Teacher

If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know:

(Requires Registration)
Back
Top