KS3 Parson Puzzle 9 VB.net – While loop

Code / algorithm aim

The code should set the variable called x to 10.

It should then set a conditional loop that will end when x = 0.

The code will display the value of x then take 1 away from x and wait 1 second.

When x has reached 0 the code will display that the time is up.


All the code that you need has been given below. Simply organise the code blocks into the correct order so that the code follows the algorithm aim above.

You can organise the blocks by clicking on the arrows on the right hand side to place them above or below the other blocks.

Imports System

Module Program

    Sub Main(args As String())
    End Sub

End Module