Test 2 Problem 2 (75 points)

Assume the input is valid. You don't need to write your own test. Use examples below to test your program

Some stores offer discount prices if you buy large amounts of products. One store has a following rule, if the person is purchasing 5 units or less, no discount is given, if the person is purchasing between 6 and 10 units (inclusive) of the certain item, the person will receive 15% discount of the total purchasing price, and if the person is purchasing 11 units or more, there is a set price of 10 dollars per unit.

Write a program that reads an original price of the item and the number of items purchased. The program outputs the final price of the purchase.

Example 1: Item price=20.99 dollars, number or items purchased: 5
Output: 104.95 dollars

Example 2: Item price=20 dollars, number or items purchased: 7
Output: 119 dollars

Example 2: Item price=20.99 dollars, number or items purchased: 20
Output: 200 dollars