Question: A programs main function declares three double variables named salesTax, sales, and taxRate. It also declares a char variable named status. The main function contains
A program’s main function declares three double variables named salesTax, sales, and taxRate. It also declares a char variable named status. The main function contains the following statement: salesTax = getSalesTax(sales, status, taxRate);. The getSalesTax function header is shown here. Correct the function header.
int getSalesTax(char code, int sold, double rate)
Step by Step Solution
3.46 Rating (162 Votes )
There are 3 Steps involved in it
double get... View full answer
Get step-by-step solutions from verified subject matter experts
