Question: c++ please Lab 3 3 Ask the user to enter the names of three items, their prices, and the local tax rate as a decimal.
Lab 3 3 Ask the user to enter the names of three items, their prices, and the local tax rate as a decimal. After they enter this information calculate the subtotal, tax, and total, and print out a receipt as formatted below. The item names may contain multiple words (assume they will not be longer than 20 characters). The line of stars is 30 characters long. . $ 1.29 Apple Egg Salad Sandwich $ 2.79 Pie $5.99 Subtotal $ 10.07 Tax $ 0.81 Total $ 19.88 ***** Thank you for shopping with us IMPORTANT: This lab is about formatting - your receipt should look exactly like the example
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
