Chapter 3: Problem 30
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 \(\mathrm{C}_{++}\) program.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.