Final answer:
During each second of simulated time in the car wash simulation, the main actions that occur are adding a new customer to the arrivals queue, starting a new car through the washer when a car finishes washing, and notifying the washer that another second has passed.
Step-by-step explanation:
The three main actions that occur during each second of simulated time in the car wash simulation are as follows:
- Sometimes add a new customer to the arrivals queue. This means that occasionally, a new customer arrives at the car wash and joins the queue of cars waiting to be washed.
- Start a new car through the washer when a car in the washer finishes the washing. Once a car has finished being washed, another car is started through the washer to keep the process going.
- Tell the washer that another second has passed. This action is to keep track of time and ensure that the simulation progresses second by second.