Question: please show steps Now use the program to solve the following: Supremez is a superstore that sells different items to its customers. When customers buy

 please show steps Now use the program to solve the following:Supremez is a superstore that sells different items to its customers. When

please show steps

Now use the program to solve the following: Supremez is a superstore that sells different items to its customers. When customers buy from the store then they are given a receipt/invoice. Create a program in RAPTOR that will calculate the total amount for an invoice. At first the program will ask how many products are there in the invoice. Then the program will take input of product price and quantity for each product in the invoice. As the items are entered, the program calculates the total of the invoice. If the calculated total is greater than $50 then the customer gets a 5% discount on the total. At the end, the program outputs i) The total for the invoice ii) If the invoice is eligible for a discount, then it shows the discounted total iii) It applies 13% HST on the total/ discounted total iv) It displays the total payable Sample execution-Casel: How many products: 3 Price: 5 Quantity: 3 Price: 8 Quantity:1 Price: 10 Quantity:1 Total for the invoice is: $33 HST (13%): $4.29 Total payable: $37.29 Sample execution-Case2: How many products: 2 Price: 15 Quantity: 3 Price: 10 Quantity: 1 Total for the invoice: $55 Promo (total>50) applied: $52.25 HST (13%): $6.7925 Total payable: $59.0425 You have saved: $2.75 Test Run using RAPTOR: Case-1: (No discount case)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!