public static void Main()
Console.WriteLine("Seating Assignments:");
string[][] Seats = new string[numRows][];
Seats[0] = new string[] {"Sahil,R", "Charlie,R", "William,R", "Jerry,J"};
Seats[1] = new string[] {"Andrew,R", "Ryan,S", "Scott,J", "Tony,R", "Rachel,R",""};
Seats[2] = new string[] {"Tanya,R", "Zofi,J", "Cindy,F", "Matt,F", "Eric,S"};
Seats[3] = new string[] {"Jack,R", "", "Cole,S", "", "Cam,J", ""};
Seats[4] = new string[] {"Spencer,S", "", "Jake,S", "Jared,J", ""};
Seats[5] = new string[] {"Esen,S", "", "Ethan,F", "", "Evan,R"};
Seats[6] = new string[] {"", "Lilly,R", "", "Tommy,S", ""};
Seats[7] = new string[] {"", "", "", "", ""};
foreach (string[] Row in Seats)
foreach (string Seat in Row)
string[] word = Seat.Split(',');
if (Seat != "") numStudents++;
Console.Write("| " + name.PadRight(12));
Console.WriteLine("====================================================");
Console.WriteLine("There are {0} students present in class.", numStudents);
Console.WriteLine("Freshman: {0} {1:P1}",numFreshman, numFreshman*1.0/numStudents*1.0);
Console.WriteLine("Sophomores: {0} {1:P1}", numSophomore, numSophomore*1.0/numStudents*1.0);
Console.WriteLine("Juniors: {0} {1:P1}", numJunior, numJunior*1.0/numStudents*1.0);
Console.WriteLine("Seniors: {0} {1:P1}", numSenior, numSenior*1.0/numStudents*1.0);
Console.WriteLine("====================================================");