KS3 Parson Puzzle 5 VB.net – random dice game

Code / algorithm aim

The code should emulate the roll of a dice and choose a random number between 1 and 6. If the number rolled is a 6 the user should be presented with a message that they rolled and 6 and have won the game. If any other number is rolled the user should be presented with a message that tells them the number rolled and that they did not win.

Instructions

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