Generate and display 5 random integers between 0 and 100
Imports System Imports System.Globalization
Public Class MainClass Public Shared Sub Main()
Dim rand As New Random()
Console.WriteLine("Five random integers between 0 and 100:")
For ctr As Integer = 0 To 4
Console.Write("{0,8:N0}", rand.Next(101))
Next