WAEC - Computer Studies (2014 - No. 42)

Evaluate the BASIC statement:

LET Z = 4*W^2  + 2*Y
Given that W = 5 and Y = 10

50
80
100
120

Explanation

4*W^2 + 2*Y
Given that W = 5 and Y = 10

4(5) \(\^2\) + 2(10)
4(25) + 2(10)
100 + 20 = 120

Comments (0)

Advertisement