Console.WriteLine("What is your preferred username?")
Dim Username = Console.ReadLine()
Dim countwords As String()
countwords = Username.Split(" ")
For Each character In countwords
Console.WriteLine(count & " words entered")
Console.WriteLine("What is your password?")
Dim Password = Console.ReadLine()
Dim countwords2 As String()
countwords2 = Password.Split(" ")
For Each character In countwords
Console.WriteLine(count & " words entered")
Dim ValidHouse = {"Batten", "Rutherford", "Mansfield", "Kupe", "Snell", "Hillary", "Te Kanawa", "Upham"}
Console.WriteLine("What is the student's house?")
Dim House = Console.ReadLine()
Console.WriteLine("That is not a house.")
Else If House IsNot ValidHouse
Console.WriteLine("What is the age of the student?")
Dim Age As Integer = Console.ReadLine()
If (Age<11) or (Age>18) Then
Console.WriteLine("That is not possible. Please try again.")
Console.WriteLine("What is the character in position " & i & "?")
StudentID(i) = Console.ReadLine()
Do Until StudentID(0) = "S"
Console.WriteLine("That value is not allowed, please try again.")
StudentID(0) = Console.ReadLine()
Do Until StudentID(1) = "J"
Console.WriteLine("That value is not allowed, please try again.")
StudentID(1) = Console.ReadLine()
Do Until StudentID(2) = "L"
Console.WriteLine("That value is not allowed, please try again.")
StudentID(2) = Console.ReadLine()