What will be the final value of JCOKE after the above statement is executed?
A:
8
B:
1
C:
15
D:
10
Answer:A
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.
Discuss About this Question.
Which of the following is not a valid real variable in FORTRAN 77?
A:
ANUT
B:
MONEY
C:
A MONEY
D:
BS
Answer:B
It starts with M and hence it is not a real variable.
Discuss About this Question.
Ad Slot (Above Pagination)
Install ExamAdept
Fast access — add this app to your device.
To install on iPhone/iPad: tap Share → Add to Home Screen.
Discuss About this Question.