Chapter 5: Problem 11
Write a void function definition for a function called add_tax. The function add_tax has two formal parameters: tax_rate, which is the amount of sales tax expressed as a percentage, and cost, which is the cost of an item before tax. The function changes the value of cost so that it includes sales tax.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.