Question: QUESTION 2 4 points Savud B. Create a main class to test your order class and do the following: . 1. Declares two objects of
QUESTION 2 4 points Savud B. Create a main class to test your order class and do the following: . 1. Declares two objects of type Order and set the data of the objects to some new data to be inserted from the keyboard. (1 point) 2. Display "Congratulations" if the customer won a free order and "Hard luck" if not. (1 point) 3. Print the following order details for object1: (1 point) Burger quantity and price. Potato quantity and price. Pepsi quantity and price. Invoice total with and without tax. 4. Display the total number of orders. (1 point) For the toolbar, press ALT+F10 (PC) or ALT-FN-F10 (Mac). BIUS Paragraph Arial I. . v 14px
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
