Computer Science for IGCSE & O level - Programming (Section 5 - No. 2)

Which of the following is an example of an 'assignment' statement in programming?
IF x > 5
PRINT "Hello"
x = 10
FOR i = 1 TO 10

Explanation

Assignment gives x the value of 10.

Comments (0)

Advertisement