public static void Main()
public static void Start()
string[] names = {"Ted", "Jack", "Jeffrey", "Carl", "Aileen", "Harold"};
string[] subjects = {"Math", "Science", "Reading"};
int[, ] grades = {{87, 76, 45, 54, 73, 62}, {78, 67, 54, 45, 37, 26}, {88, 77, 55, 44, 33, 66}};
Console.Write("Enter name of agent: ");
string name = Console.ReadLine();
Console.Write("Enter Subject of agent:");
string sub = Console.ReadLine();
for (int i = 0; i < 6; i++)
if (index >= 0 && index >= 0)
Console.WriteLine("Agent " + name + " is " + grades[index, index] + " in " + sub);
Console.WriteLine("Agent " + name + " is not yet employed.");
Console.WriteLine(sub + " is not yet available.");
public static void Start()
string[] names = {"Ted", "Jack", "Jeffrey", "Carl", "Aileen", "Harold"};
int[, ] grades = {{87, 76, 45, 54, 73, 62}, {87, 67, 54, 45, 37, 26}, {88, 77, 55, 44, 33, 66}, {86, 77, 55, 44, 33, 66},
{87, 76, 45, 54, 73, 62}, {87, 76, 45, 54, 73, 62}};
Console.Write("Enter name of agent: ");
string name = Console.ReadLine();