A program contains the statement tax = calcTax(sales);. The tax and sales variables have the double data
Question:
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);
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Microsoft Visual C# An Introduction to Object-Oriented Programming
ISBN: 978-1337102100
7th edition
Authors: Joyce Farrell
Question Posted: