Question: The following are from the Algorithm Workbench in your book on page 140. You are to complete one of these three for your practice program:

The following are from the Algorithm Workbench in your book on page 140. You are to complete one of these three for your practice program:

25. A retail store grants its customers a maximum amount of credit. Each customers available credit is his or her maximum amount of credit minus the amount of credit used. Write a pseudocode algorithm for a program that asks for a customers maximum amount of credit and amount of credit used. The program should then display the customers available credit.

After you write the pseudocode algorithm, convert it to a complete C++ program.

26. Write a pseudocode algorithm for a program that calculates the total of a retail sale. The program should ask for the amount of the sale and the sales tax rate. The sales tax rate should be entered as a floating-point number. For example, if the sales tax rate is 6 percent, the user should enter 0.06. The program should display the amount of sales tax and the total of the sale.

After you write the pseudocode algorithm, convert it to a complete C++ program.

27. Write a pseudocode algorithm for a program that asks the user to enter a golfers score for three games of golf and then displays the average of the three scores.

After you write the pseudocode algorithm, convert it to a complete C++ program.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!