Question: 20.(8 pts) Define a function called calculate sales tax(0 that computes the total sales tax it) given the cost (c) of an item and the
20.(8 pts) Define a function called calculate sales tax(0 that computes the total sales tax it) given the cost (c) of an item and the sales tax rate (r. The total sales tax ts comptred by the following equation: The function accepts the cost and sates taxirateas tloating-point input parameters, and returns the total sales tax. Be sure to write your function header
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
