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:

Verified
Correct Answer:
Verified
Related Questions
Q21: In an if/else statement, if the boolean
Q22: What will be printed when the following
Q23: What does the following code display?<br>Double x
Q24: What would be the value of x
Q25: To do a case insensitive compare which
Q27: What would be the value of bonus
Q28: What is the value of ans after
Q30: Which of the following is the correct
Q34: In a switch statement, each of the
Q44: Which of the following expressions will determine