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 12:30
In france, grapes are 1.95 euros per kilogram. what is the cost of grapes, in dollars per pound, if the exchange rate is 1.14 dollars/euro? (2.6)
Answers: 3
question
Chemistry, 22.06.2019 18:00
Which three statements represent the benefits of performing experiments using computer simulations?
Answers: 3
question
Chemistry, 22.06.2019 22:30
[ou.03jthe pictures below show the wavelengths and intensities of electromagnetic radiations emitted by three stars, star 1, star 2, and star 3. intensity intensity- intensity- 1000 3500 6000 8500 11000 wavelength (a) star 1 1000 3500 6000 8500 11000 1000 3500 6000 8500 11000 wavelength (a) wavelength (a) star 2 star 3 which of these statements is correct about the color of the three stars? star 2 is white in color o star 2 is yellow in color star 1 and star 3 are yellow in color star 1 and star 3 are white in color
Answers: 1
question
Chemistry, 23.06.2019 00:10
Apropane torch is lit inside a hot air balloon during preflight preparations to inflate the balloon. which condition of the gas remains constant
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