Dim userChoice as integer = 3
Dim patientName as string
Dim patients(9) as string
Console.WriteLine("Welcome to Pinderfield General Hospital - part of the Mid Yorks NHS Trust")
Console.WriteLine("To check in for an appointment please enter 1. To see your position in the Queue, click 2.")
userChoice = Console.ReadLine
Console.WriteLine("Please enter your name")
patients(i) = Console.ReadLine()
Console.WriteLine("You have succesfully been checked in and you are now position: " & i)
Console.WriteLine("What is your name?")
patientName = Console.ReadLine()
Console.WriteLine("You have been checked in and you are now position " & i)