Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ II D) Create a cpp program (named Billing then create the following objects and display the objects based on the Instruction below. Create a
C++ II
D) Create a cpp program (named Billing then create the following objects and display the objects based on the Instruction below. Create a Food object named item1 using its default constructor. Use set method to assign the following values, 1, Dine-In, Appetizer, Fried Caramari, 1, and 6.95 to order number, order type, food type, food name, quantity and price respectively Create a Food object named item2 using its constructor with six parameters. Assign the following values, 1, Dine-in, Entree, Grilled Salmon, 2, and 15.99 to parameters, order number, order type, food type, food name, quantity and price respectively Create a Drink object named item3 using its constructor with five parameters Assign the following values, 1, Dine-in, Coke, 3, and 1.95 to parameters, order number, order type, drink name, quantity and price respectively . Display billing summary by using get methods and subtotal methodas sh search Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started