Multiple Choice
What will be the value of charges after the following code is 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
Q17: The String.format method works exactly like the
Q32: Which of the following will format
Q40: An important style rule you should adopt
Q42: Unicode is an international encoding system that
Q44: _ works like this: If the expression
Q46: This is an international coding system that
Q47: A flag may have the values:<br>A) 0
Q48: When two Strings are compared using the
Q49: What will be printed when the following
Q50: The expression tested by an if statement