Module Module1
Sub Main(ByVal args As String())
If args.Length >= 1 Then
Console.Write(Rnd(Val(args(0))) & " ")
Else
Console.Write(Rnd() & " ")
End If
For i As Integer = 1 To 99
Console.Write(Rnd() & " ")
Next
Console.WriteLine()
End Sub
End Module
Double version (Notice that it may produce different result if the Randomize below is not the first called one since the execution):
Module Module1
Sub Main(ByVal args As String())
If args.Length >= 1 Then
Randomize(Val(args(0)))
End If
For i As Integer = 1 To 100
Console.Write(Rnd() & " ")
Next
Console.WriteLine()
End Sub
End Module