Question: A method is declared as: public doubte CalcPay ( int hours Worked, double hourlyPate, string workType ) Suppose you write a Main 0 method containing:
A method is declared as:
public doubte CalcPayint hours Worked, double hourlyPate, string workType
Suppose you write a Main method containing:
int hours ; double payDec amount PerHour;
Which of the following represents a correct way to call the CalcPay method from the Main method?
payDec CalcPayhours amountPerHour, payDec:
hours CalcPaypayDec amountPerHour, partime:
payDec CalcPayhoursWorked "fultime":
payDec CalcPayhour "partime";
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
