Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields. Get immediate and reliable solutions to your questions from a community of experienced professionals on our platform.

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 write 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.
Write a program to:

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.
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