Project #51848 - c++

1. Restaurant Bill

Write a program that computes the tax and the tip on a restaurant bill. Ask user what the meal cost was. The tax should be 6% of the meal cost, and the tip is calculated from the total cost after adding the tax. Display three lines: one that gives the total cost with the 15% tip, one with 18% tip, and the third with the 20% tip.

2. Distance per Tank of Gas

 

A car with 20 gallon gas tank averages 21.5 miles per gallon when driven in town and 26.8 miles per gallon when driven on the highway. Write a program that calculates and displays the distance the car can travel on one tank of gas when driven in town and when driven on the highway.

 

Subject Computer
Due By (Pacific Time) 12/13/2014 12:00 am
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy