Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

(TCO 2) Given the following program description, - identify the required classes

ID: 3660733 • Letter: #

Question

(TCO 2) Given the following program description, - identify the required classes/objects necessary to achieve the program requirements; - briefly describe any relationships that might exist between your classes; and - briefly describe the overall hierarchy of your proposed classes. Program Description - You have been asked to create a program designed to take coffee orders in a coffee shop. The program must be able to take an order, assign a unique ID to the order, add any number of drinks to the order and calculate the total bill.

Explanation / Answer

create a class coffeeOrder that has private members int ID int numberOfDrinks and a dynamic array of double Drinks of size numberOfDrinks. Have methods that returns and sets each of these items. Also have a method that returns totalBill if you want, you can create an array of coffeeOrder in main to fit your need