Question: Write a program that ask the user to input the total price of 2 pairs of shoes. The first pair of shoes are priced at

Write a program that ask the user to input the total price of 2 pairs of shoes. The first pair of shoes are priced at $140 with the tax at 9%. The 2nd pair of shoes will be $79.99 with a 9% tax rate. Calculate each tax price and print out the total for each pair and the total for the pairs together.
Example output:The price is:The tax is:The total price for pair 1:The price is:The tax is:The total price for pair 2:The total price for both pair.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!