Solved

What Will Be the Value of Pay After the Following

Question 26

Multiple Choice

What will be the value of pay after the following statements are executed?
Int hours = 45;
Double pay, payRate = 10.00;
Pay = hours <= 40 ?
Hours * payRate :
40 * payRate + (hours - 40) * payRate * 1.5;


A) 400.00
B) 450.00
C) 465.00
D) 475.00

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions