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, 21.06.2019 22:30
Hot air balloons float in the air because of the difference in density between cold and hot air. in this problem, you will estimate the minimum temperature the gas inside the balloon needs to be, for it to take off. to do this, use the following variables and make these assumptions: the combined weight of the pilot basket together with that of the balloon fabric and other equipment is w. the volume of the hot air inside the balloon when it is inflated is v. the absolute temperature of the hot air at the bottom of the balloon is th (where th> tc). the absolute temperature of the cold air outside the balloon is tc and its density is ďc. the balloon is open at the bottom, so that the pressure inside and outside the balloon is the same. as always, treat air as an ideal gas. use g for the magnitude of the acceleration due to gravity.
Answers: 1
question
Chemistry, 22.06.2019 04:50
Acompound contains c, h, and o atoms. when 1.130 g of the compound is burned in oxygen, 1.064 g co2 and 0.3631 g h2o are produced. what is the empirical formula of this compound?
Answers: 1
question
Chemistry, 22.06.2019 16:00
If 15 drops of ethanol from a medical dropper weight 0.60g, how many drops does it takes from a dropper to dispense 1.0ml of ethanol? the density of ethanol is 0.80g/ml
Answers: 1
question
Chemistry, 22.06.2019 18:30
How many moles of lead are in 1.50 x 10^12 atoms of lead? could you explain the answer as well and not just give it to me i am refreshing for finals and i need to know how to do it
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
Chemistry, 13.10.2019 23:10
question
Mathematics, 13.10.2019 23:10
question
Chemistry, 13.10.2019 23:10
Questions on the website: 13722363