ou are tasked with creating a system (store) that manages the ordering and delivery of cakes, as well as stock management.

computer science

Description

You are tasked with creating a system (store) that manages the ordering and delivery of cakes, as well as stock management. 


The system is menu driven. 

And the user can choose too: 

Add Order Dispatch Vehicle 

Add Delivery Vehicle 

Add Delivery 

Driver to Vehicle Order 

Stock Display 

Stock Display 

Cakes from Order 

Display Delivery  Vehicle 

Display Total Number of Orders


The cakes are loaded into the system from a file at the start of running the program, and can not be changed once loaded. A cake consists of its name, and quantity of each of its ingredients (eggs, sugar, flour and milk) An order consists of up to 10 cakes and an address to deliver the cake too. A delivery vehicle can carry up to max orders, it has an id and a driver. The driver must be added after adding vehicle to the system. A driver has a name. A cake store sells N cake, 1 delivery vehicle and quantity of the total ingredients (eggs, sugar, flour and milk) 


When an order is added, a delivery vehicle must exist (but not a driver). An order can only have one cake and the ingredients must be available from the total. A vehicle can only be dispatched if there is at least 1 order, the delivery vehicle exist, and driver is added

Instruction Files
Summer1.pdf
183.3 KB

Related Questions in computer science category