Question: (8 pts) Define a function called calculate sales_tax() that computes the total sales tax (t) given the cost (c) of an item and the sales

(8 pts) Define a function called calculate sales_tax() that computes the total sales tax (t) given the cost (c) of an item and the sales tax rate fr). The total sales tax is computed by the following equation: tex The function accepts the cost and sales tax rate as floating-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
