This program will simulate a car wash. The data structure used is a queue implem
ID: 3627714 • Letter: T
Question
This program will simulate a car wash. The data structure used is a queue implemented as a linked list. Vehicles arrive at the car wash and wait in line. The probability that a vehicle will arrive at any given moment is 25%. The probability of that vehicle being a SUV is 35%. It takes 3 minutes to wash a car and 5 minutes to wash a SUV. It costs $12 to wash a car and $18 to wash a SUV. A car cannot enter the wash until the car ahead of it leaves. Run the simulation for 8 hours. There must be a class for the vehicles and a driver class. (no pun intended). The output of the program should be:Cars Washed: ------ Car Revenue: $------
SUVs Washed: ------ SUV Revenue $------
Total Revenue: $-------
Vehicles left in queue at closing time ------