Question: Write a program that simulates a cost of transportation, time taken and amount of goods delivers from point A to point B. The cost will

Write a program that simulates a cost of transportation, time taken and amount of goods delivers from point A to point B. The cost will include the cost of the vehicles, the fuel, the driver and it's assistant. The time is the time taken to deliver the goods using several road options. Create at least 3 road options and each road has different distance and also adds the probability of traffic jam and accidents, which contributes to delay. i. Transport - Different types of transport is used to transport the goods i.e Lorry (small, medium and large), Van, Pick-up truck etc. ii. Roads - Create different road types. Each road has different average speed, length and probability of traffic jam and accidents. iii. Drivers and their assistants Drivers and their assistants are paid according to the time they work and the type of transport they drive. iv. Scheduler Monitors the time taken for each trip from point A and B
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
