using System;
public class Program
{
public static void Main()
string[] allgrades = new string[20]
"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "A+", "B+", "C+", "D+", "E+", "F+"
}
;
bool vFound = false;
string vgrade;
int vCount = 0;
Console.WriteLine("Please enter your grade");
vgrade = Console.ReadLine();
do
if (allgrades[vCount] == vgrade)
vFound = true;
Console.WriteLine("Grade was found");
vCount++;
else
while ((vFound == false) && (vCount < allgrades.Length));
if (vFound == false)
Console.WriteLine("The grade was not found");
Console.WriteLine("The loop ran " + vCount + " time(s).");