Question: Description Your work at the fleet vehicle startup has been going well. You now have a few customers, and one of their requests is that
Description Your work at the fleet vehicle startup has been going well. You now have a few customers, and one of their requests is that they want your software to keep track of the deliveries they need to make, and they want to use the software to decide which delivery to send out first. Your job is to write a command line interface that can keep track of these deliveries. Your program will be given a series of com mands as input. The commands your program should accept are the following: order, delivery, exit exit When the command "exi" is given, your program should exit. You should make sure to clean up any allocated memory before exiting. order If your program is given the command "order", that means an or der is being inputted to your program. Your program then needs to read an order ID, followed by a product name, followed by a quantity. The order ID and the quantity are integers. The product name is a string that is guaranteed to be less than 20 characters
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
