subject
Chemistry, 29.09.2021 07:30 ericadawn2852

Your family had decided to go out to dinner tonight and needs your help calculating the final bill. Your program should accept the prices for 5 meals (prices are decimal numbers). It should also ask for the tax rate (entered as a decimal value). It should print out your total before tax, the amount of tax and the final bill including tax. Once you have all of the values input, calculate the total bill including tax. Tax amounts can have more than 2 decimal places so you need to round your decimal value to the hundredths place and print only 2 decimal values. Example: How much was the first meal? 12.50 How much was the second meal? 11.25 How much was the third meal? 10.90 How much was the fourth meal? 7.95 How much was the fifth meal? 13.85 What is your tax rate? 0.0825 Your bill before tax is $56.45 You owe $4.66 in tax Your bill including tax is $61.11

ansver
Answers: 1

Another question on Chemistry

question
Chemistry, 22.06.2019 02:00
If you add 10ml of hot water to 10ml of cold water and the change in tempature 8°c calculate how much energy is gained by the cold water
Answers: 1
question
Chemistry, 22.06.2019 18:30
When a device is used in a circuit in which the voltage is 81 v the current flowing through the device is 3 a what is the resistance of the device
Answers: 2
question
Chemistry, 22.06.2019 19:00
How does kepler second law of planetary motion overthrow one of the basic beliefs of classical astronomy
Answers: 1
question
Chemistry, 22.06.2019 21:30
Light waves are as they pass through the
Answers: 3
You know the right answer?
Your family had decided to go out to dinner tonight and needs your help calculating the final bill....
Questions
question
Mathematics, 13.01.2022 20:20
question
Chemistry, 13.01.2022 20:30
Questions on the website: 13722360