Mini Quiz Version 1

In this program you will find a total price of the purchase based on the following rule: items priced 100 dollars and below receive 15% discount. All other items receive 25% discount. Write a program that first reads one integer - the number of items user purchased in the store. The program then reads the price for each item. The program finds the total purchase price based on the rule above. In addition, the program finds the number of items that received 15% discount, the number of items that received 25% discount, and the average price per item.