Solved

What Will Be the Value of Charges After the Following

Question 45

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:

verifed

Verified

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

Related Questions