Hello! I recently told a friend of mine that I could help them compile two programs, however I can only do Java and have never programmed with C++ before. Can someone show me how to create these two programs?
1.) Compute tax and possible totals with different tips when the meal charge is entered. The tax should be 6.75% of the meal cost. The tips should be 10, 15, and 20% of the total after adding the tax. Display the meal cost, tax amount, and total bill on the screen.
Pseudocode:
Set variables
Get values
Calculate tax
Add to meal cost
Calculate tips for various rates
Calculate totals and display results
2.) Write a program that asks for five test scores. Calculate the average test score and display it. The number should be in fixed-point notation with one decimal point of precision.