Home » Classroom » SS3 ICT Basic Programing III Question

What is the output of the following code java C... - SS3 ICT Basic Programing III Question

What is the output of the following code?

java Copy code

x = 1

WHILE x < 5

    PRINT x

    x = x + 2

WEND

A

1 2 3 4

B

1 3 5

C

2 4 6

D

1 2 4

correct option: b
Please share this, thanks:

Add your answer

Notice: Posting irresponsibily can get your account banned!

No responses