Это вопрос C++
The car wash machine at Squeaky Clean Car Wash requires exactly 3 minutes to complete the regular car wash (including rinse, wax, and dry). A car arrives at the car wash approximately every four minutes (cars don't arrive exactly four minutes apart: that would be easy to program!). Right now Squeaky has two car wash bay to process two cars simultaneously. The owners of the car wash are proposing to add another car wash bay, because they are suspicious that the average wait time for the cars is long enough that they are losing business. Construct a simulation of the car wash to determine the average waiting time for a car at the car wash during a typical day (9 am to 7 pm). Since the arrival time is an average, there is often a waiting line. This can be simulated using a queue as the car that entered first will be processed at first. Implement this problem using linkedlist. Car Arrival Time Processing Time Waiting Time A 7 B 6 D 8 E 8 F 11 G 12 H 13 I 9 J 10 K 9
Что я уже пробовал:
я пытался получить результат,но потерпел неудачу, пожалуйста, помогите мне решить этот вопрос