Chemistry
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

answer
Answers: 1

Other questions on the subject: Chemistry

image
Chemistry, 21.06.2019 17:00, debordc17
Two friends at different locations want to communicate with each other by sending low energy signals. which of the following methods can they use to communicate? a) produce x-rays using colliding electrons and send them to radios, which capture sound b) send messages using infrared radiation, which travel in the form of waves c) send radio waves through intervening media like radio and television d) produce sound waves using microwaves from heated objects
Answers: 2
image
Chemistry, 22.06.2019 08:00, juliannxkim
Joe shines white light into a bowl half full of water at an angle of incident of 27.5°. calculate the angle of refraction in the water given the indices of refraction for air and water are 1.00 and 1.36, respectively.
Answers: 2
image
Chemistry, 23.06.2019 00:30, rose888829
The footprints of a dinosaur and the burrow of an ancient shrimp are examples of which kind of fossils
Answers: 2
image
Chemistry, 23.06.2019 05:00, ugh909
How many moles in .5g of sodium bromide?
Answers: 1
Do you know the correct answer?
Your family had decided to go out to dinner tonight and needs your help calculating the final bill....

Questions in other subjects:

Konu
Computers and Technology, 29.06.2019 23:00