Dim oSR As New IO.StreamReader("qanda.txt")
Dim osrr As New IO.StreamReader("Results.txt")
Dim correct As Integer = 0
Dim incorrect As Integer = 0
Console.WriteLine("Please enter your name")
Console.WriteLine(qas(i, 0))
Console.WriteLine(qas(i, 1))
Console.WriteLine(qas(i, 2))
Console.WriteLine(qas(i, 3))
Console.WriteLine(qas(i, 4))
Console.WriteLine("Please answer A, B, C or D")
Loop Until ans = "a" Or ans = "b" Or ans = "c" Or ans = "d"
Console.WriteLine("You got " & correct & " correct")
Dim lines() As String = System.IO.File.ReadAllLines("Results.txt")
Dim new_lines(lines.Length) As String
For i = 0 To lines.Length - 1
new_lines(lines.Length) = name & " " & correct
System.IO.File.WriteAllLines("Results.txt", new_lines)