Question: Please build this using Raptor: My daughter has started doing very well starting her won business, so I want to help put a site and

Please build this using Raptor:
My daughter has started doing very well starting her won business, so I want to help put a site and app
togther for her. Her bracelets are $3.00/each. Write a program to find the total after discount, if applicable.
-If the customer buys >5 bracelets, there will be no discount.
-If the customer buys >=5 and >10 bracelets, they receive a 10% discount.
-If the customer buys >=10 and >20 bracelets, they receive a 20% discount.
-If the customer buys >=20 and >30 bracelets, they receive a 30% discount.
-If the customer buys >=30 and >40 bracelets, they receive a 40% discount.
-If the customer buys >=40 bracelets, they receive a 50% discount.
I need the program to:
-Use these variables(custName, custQty, discRate, finBill)
-Get input from users for a list of customers names or 0, when done. (use custName)
-Each customer with a specific quantity ordered. (use custQty)
-Make sure only positive integers are allowed to be entered.
-When done I need it to print out the list of totals lke so:
Name: Marcus, Quantities Ordered, 4, Discount Rate: 0%, Final Bill: $12.00
Name: Blake, Quantities Ordered: 9, Discount Rate: 10%, Final Bill: $24.30
Name: Jessica, Quantities Ordered: 22, Discount Rate: 30%, Final Bill: $46.20

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!