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

1 Expert Approved Answer
Step: 1 Unlock

double get... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!