Which of the following is a valid function header for the getFee function, which receives an integer

Question:

Which of the following is a valid function header for the getFee function, which receives an integer first and a number with a decimal place second? The function returns a number with a decimal place. 

a. getFee(int base, double rate); 

b. double getFee(int base, double rate); 

c. double getFee(double base, int rate) 

d. double getFee(int base, double rate)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: