Multiple Choice
What is the value of charges after the following code has been executed?
double charges, rate = 7.00;
Int time = 180;
Charges = time <= 119 ? rate * 2 :
Time / 60.0 * rate;
A) 7.00
B) 14.00
C) 21.00
D) 28.00
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q34: In a switch statement, each of the
Q35: What would be the value of discountRate
Q36: What will be displayed after the following
Q37: What will be the value of x
Q38: What is the value of x after
Q40: Java requires that the boolean expression being
Q41: What will be printed when the following
Q42: Which of the following expressions could be
Q43: The if-else statement will execute one group
Q44: Which of the following expressions determines whether