Write a program that prompts the user for the number of miles driven and the gallons of gas used. Your code should then calculate the car’s MPG and display the result.

Words: 172
Pages: 1
Subject: Uncategorized

Tip, Tax, and Total
Write a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of an 18 percent tip(use 0.18) and 7 percent sales tax (use 0.07). Display each of these amounts and the total.
Rubrics:
1. Your information (2 pts)
2. Inputs and helpful messages to the user (20 pts)
3. Process or calculation (20 pts)
4. Output (10 pts)
5. Output with currency format (5 pts)
6. Describe steps using comments (10 pts)
7. Program is running to give desired results (10 pts)
8. Using descriptive variables (10 pts)
9. Uploading the file (5 pts)

Let Us write for you! We offer custom paper writing services Order Now.

REVIEWS


Criminology Order #: 564575

“ This is exactly what I needed . Thank you so much.”

Joanna David.


Communications and Media Order #: 564566
"Great job, completed quicker than expected. Thank you very much!"

Peggy Smith.

Art Order #: 563708
Thanks a million to the great team.

Harrison James.


"Very efficient definitely recommend this site for help getting your assignments to help"

Hannah Seven