subject
Chemistry, 29.09.2021 14:00 zaylencollins55

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: 2

Another question on Chemistry

question
Chemistry, 21.06.2019 17:50
Which best describes why nh4+ can form an ionic bond with cl-?
Answers: 3
question
Chemistry, 22.06.2019 15:30
Two metal blocks that have slightly different temperatures are placed next to one another. after five minutes, they both have lower but equal temperatures. according to the law of conservation of energy, what  most likelyhappened? energy was created inside the blocks.energy was destroyed inside the blocks.energy was absorbed into the blocks from outside the system.energy was transferred from the warmer block to the cooler block.
Answers: 2
question
Chemistry, 22.06.2019 19:00
What is the compound name for the formula [ru(en)2cl2]2+ and [co(en)cl2br]-
Answers: 1
question
Chemistry, 22.06.2019 20:00
Nitrogen dioxide decomposes according to the reaction 2 no2(g) β‡Œ 2 no(g) + o2(g) where kp = 4.48 Γ— 10βˆ’13 at a certain temperature. if 0.70 atm of no2 is added to a container and allowed to come to equilibrium, what are the equilibrium partial pressures of no(g) and o2(g)
Answers: 2
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
Chemistry, 11.10.2019 06:30
question
Mathematics, 11.10.2019 06:30
question
Mathematics, 11.10.2019 06:30
Questions on the website: 13722359