Question: One Stop Car Wash needs you to create an automated system to keep track of the revenues which are being observed daily. Your assignment

 One Stop Car Wash needs you to create an automated system to   

One Stop Car Wash needs you to create an automated system to keep track of the revenues which are being observed daily. Your assignment is to simulate the traffic through a single car wash booth, while keeping track of the number of vehicles which are passing through and to record the revenues collected. There are 3 categories of vehicles which travel through the car wash booth represented by the vehicle code: 1, 2 and 3 respectively. The fee charged - varies daily, as such you are to state the daily rate for each category of vehicle. The program should calculate and display: (1) the total number of vehicles washed for each category, (2) the associated category revenue and (3) the total daily revenue. You are required to flesh out a solution by using flowcharts and pseudocode. A. B. It has been suggested that the use of a loop to process the vehicles. Describe the TWO (2) types of loop structures at your disposal and provide a rationale for the one you will use to solve the problem. Write the corresponding Python code solution for the problem above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!