Problem

A program contains the statement tax = calcTax(sales);. The tax and sales variables have...

A program contains the statement tax = calcTax(sales);. The tax and sales variables have the double data type. Which of the following is a valid function header for the calcTax function?

a. calcTax(double sales);

b. double calcTax(salesAmount)

c. double calcTax(double salesAmount)

d. double calcTax(int sales);

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 9