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...

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

Sign up to view the full answer

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.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    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
Ask a homework question - tutors are online