What will be the final value of JCOKE after the above statement is executed?
Ask Your Doubts Here
Comments
By: guest on 02 Jun 2017 01.02 am
The logical IF statement means that IF (3 x J COKE) is equal to (L PEPSI), J COKE = 3 + 2 = 5 otherwise J COKE = 3+5 = 8 Since (3 x J COKE) is more than (L PEPSI), the result is 8.