This time we would like the user to enter the following details for 3 items: name, cost price and quantity. Your program should the print out a receipt including a tax amount of 11.75% on the subtotal of all the three items entered. The receipt should be formatted in columns with 30 characters for the name, 10 characters for the quantity, 10 characters for the price, and 10 characters for the total.
Sample run 1:
Item Quantity Price Total
Lollipops 10 0.50 5.00
Sweets 4 1.45 5.80
Chocolate bar 20 0.75 15.00
Subtotal 25.80
11.75% sales tax 3.03
Total 28.83