Problem
Create the follow program using Raptor. Use the concepts, techniques and good programming practices that you have learned in the course (example: using modular structure, using input validations....). You have unlimited attempts for this part of the exam.
A retail price for each avocado is $1.99/each. You have to create a program to figure it out the final bill for each customer after discount (if applicable)
+ Customers buy less than 15 avocados, there will be no discount.
+ Customers buy >= 15 avocados and less than 30 avocados, there will be 10% discount.
+ Customers buy >= 30 avocados and less than 50 avocados, there will be 20% discount.
+ Customers buy >= 50 avocados, there will be 30% discount.
Create a program to:
A. Input a list of customer's names, each customer with a specific quantity ordered, store names and quantities into parallel arrays named customers and quantities. End the input with a sentinel value. Apply the defensive technique to verify input quantities are positive integer numbers.
B. After completing all the inputs, your program will figure it out the discount rate of each customer and the final bill for each of them (after discount). The output will be customer names, quantities ordered, discount rates, and final bill