TRUCK RENTAL TRUCK MOUE SCHEDULER v1.0 1- Dispatch Truck to Work 2- Truck Returned Hone 3- Report g- Exit What do you want to do? 1 Which truck do you want to send 1 or 2>? 1 We just purchased two trucks and we would like to open up a new business where we rent these How nuch are e charging for this work? 158.88 trucks to other businesses. We need a program Truck #1 is dispatched. that would allow us to keep track of the availability of the trucks throughout the day, as well as the daily total rental fee we eam. TRUCK MOUE SCHEDULER v1.0 1- Dispatch Truck to Work 2- Truck Returned Hone 3- Report g- Exit What do you want to do? 1 Which truck do you uant to send 1 or 2>? 1 Remember that we have two trucks and we will How nuch are ve charging for this work? 258.88 always have two trucks no need to use arrays, Sorry. truck 1 is currently busy just two variables to keep track of the dispatch status of trucks. TRUCK MOUE SCHEDULER v1.0 1-Dispatch Truck to Work 2- Iruck Returned Hone 3- Report a-Exit [60] Feature #1 : Dispatch Truck to Work If someone needs a truck, we will dispatch the truck to them. We use this feature to tell the program which truck we are dispatching for the work and the amount we charge for the rental do you want to do? 3 Truck #1 is dispatched Truck #2 is available Total anount earned today is $158 oe TRUCK MOUE SCHEDULER v1.0 1- Dispatch Truck to Work 2- Iruck Returned Hone 3- Report 0- Exit What do you want to do? 1 Which truck do you want to send 1 or 2? 2 If user tries to dispatch a truck that is already out, display a warning. Otherwise, let the user How nuch e e charging for this work? 258.88 know that the requested truck is now set as Truck #2 is dispatched. dispatched. TRUCK MOUE SCHEDULER v1.0 1- Dispatch Truck to Work 2- Truck Returned Hone 3- Report 0- Exit What do you want to do? 2 Which truck returned hone (1 or 2 2 Truck #2 is available. [50] Feature #2: Truck Returned Home when the work is done, the truck returns home We want to use this feature to let the program know that the truck is available for new work. TRUCK MOUE SCHEDULER v1.0 1- Dispatch Truck to Work 2- Iruck Returned Hone 3- Report 0- Exit [50] Feature #3: Report This feature displays which truck is currently dispatched and which truck is currently available. Also we want to see the total amount we have charged. do you want to do? 3 Truck #1 is dispatched Truck #2 is available Iotal anount earned today is $400 TRUCK MOUE SCHEDULER u1.0 1- Dispatch Truck to Work 2- Iruck Returned Hone 3 Report [40] Feature #0: Exit We exit the program using this feature Exit What do you want to do? 8