Generate and display 5 random floating point values from 0 to 1
Imports System
Imports System.Globalization
Public Class MainClass
Public Shared Sub Main()
Dim rand As New Random()
Console.WriteLine("Five Doubles.")
For ctr As Integer = 0 To 4
Console.Write("{0,8:N3}", rand.NextDouble())
Next
End Sub 'Main
End Class