The program will print out:
The value is: 17
In executing the statement
LET VALUE = 12 + EXTRA
the following things happened:
VALUE since it has not been used before.
EXTRA since it has already been used
to save the number 5.EXTRA.
EXTRA contains the number 5.VALUE, is used to save the 17.What will the following program print out:
' Example LET statements LET VALUE = 5 LET VALUE = 12 + VALUE PRINT "The value is:", VALUE END
(Hint: the second LET might look odd, but it is OK.
Follow the same three steps as in the previous paragraph.)