View the step-by-step solution to:

4) Restaurant Bill: Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75...

This question was answered on Feb 01, 2013. View the Answer
Please use the given problems. Do not get to find them online. Use the given outline only to solve for them. Do not go more advance than what it is given on the outline.
4) Restaurant Bill: Write a program that computes the tax and tip on a restaurant bill for a patron with a $44.50 meal charge. The tax should be 6.75 percent of the meal cost. The tip should be 15 percent of the total after adding the tax. Display the meal cost, tax amount, tip amount, and total bill on the screen. 7) DIstance per Tank of Gas: A car with a 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. Hint: The following formula can be used to calculate the distance: Distance = Number of Gallons × Average Miles per Gallon 9)Circuit Board Price: An electronics company sells circuit boards at a 40 percent profit. Write a program that will calculate the selling price of a circuit board that costs $12.67. Display the result on the screen. 14)Basketball Player Height: The star player of your highschool basketball team is 73 inches tall. Write a program to compute and display the height) in feet/ inches form. Hint: Try using the modulus and integer divide operations. 16) Energy drinks problem done.
Background image of page 1
Background image of page 2
Sign up to view the entire interaction

Top Answer

Dear student, All four programs have been attached in a RAR... View the full answer

@8426225-c++.rar - Preview not available

This question was asked on Jan 29, 2013 and answered on Feb 01, 2013.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors and customizable flashcards—available anywhere, anytime.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access or to earn money with our Marketplace.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
  • -

    Flashcards

    Browse existing sets or create your own using our digital flashcard system. A simple yet effective studying tool to help you earn the grade that you want!

    Browse Flashcards