KS3 Parson Puzzle 3 VB.net – simple selection

Code / algorithm aim

The code should greet the user and ask them to enter their name. It should then allow the user to enter their name. The code should check the users name and if they enter Gary should welcome them, but if they do not enter Gary it should tell them that they are not welcome.

Instructions (click to view)

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