public static void Main()
int[] allgrades = new int[20]
6,7,7,8,5,4,7,9,6,8,4,5,7,6,8,9,7,5,6,4
Console.WriteLine("Please enter a mark to search for:");
vGrade = int.Parse(Console.ReadLine());
if (allgrades[vCount] == vGrade)
Console.WriteLine("The mark was found");
}while ((vFound == false) && (vCount < allgrades.Length));
Console.WriteLine("The value was not found");
Console.WriteLine("The loop ran " + vCount + " times.");