Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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?

image text in transcribed
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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

Students also viewed these Databases questions

Question

Which of the dollowing best describes the role of the W 3 C ?

Answered: 1 week ago

Question

=+ Who is the negotiation partner at company level?

Answered: 1 week ago

Question

=+Which associations exist?

Answered: 1 week ago