Dim nCandidates as Integer
Dim CandidateNames(4) as String
Dim CandidateVotes(4) as Integer
Console.Writeline("Please Enter the Name of the Tutor Group")
TutorGroup = Console.Readline()
Console.Writeline("Please enter the Number Of Students in your Turtor Group")
temp = Console.Readline()
Do WHile Not Integer.TryParse(temp, nStudents)
Console.Writeline("Please enter a whole number. Please re-enter the Number of Students")
temp = Console.Readline()
Console.Writeline("Please enter the Number Of Candidates: 1-4")
temp = Console.Readline()
Do WHile Not (Integer.TryParse(temp, nCandidates) AND nCandidates >= 1 AND nCandidates <= 4 )
Console.Writeline("Please enter a Valid Answer within the Range of 1-4. Please re-enter the Number of Students")
temp = Console.Readline()
Console.Writeline("Please enter the name of Candidate " & n)
CandidateNames(n) = Console.Readline()
CandidateNames(0) = "Abstentions"