Assume you have declared a method as follows: public static double CalculateDiscount(int acct = 0, double price = 0, double discount = 0) Which of the following is a legal method call? a....


Assume you have declared a method as follows: public static double CalculateDiscount(int acct = 0, double price = 0, double discount = 0) Which of the following is a legal method call?


a. CalculateDiscount();


b. CalculateDiscount(200.00);


c. CalculateDiscount(3000.00. 0.02);


d. None of the above are legal.



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here