I'm still a beginner, so I'm still learning. I'm trying to take test scores for 3 different students, enter them in an array, then display the name, test scores and the average. Trying to also have reusable code for the average. I'm not even sure I'm going about it the right way. This is what I've got so far. It works, but its probably sloppy. I'm sure there are other ways of doing it, but some constructive criticism would be nice.
static void Main(string[] args)
{
const int STUDENTS = 3;
string[] names = new string[STUDENTS];
names[0] = "Morgan";
names[1] = "Bowie";
names[2] = "Ananya";
Console.WriteLine("Enter test scores for " + names[0]);
const int MORGAN_TEST = 3;
int[] morganScores = new int[MORGAN_TEST];
morganScores[0] = int.Parse(Console.ReadLine());
morganScores[1] = int.Parse(Console.ReadLine());
morganScores[2] = int.Parse(Console.ReadLine());
int sumMorgan = morganScores.Sum();
Console.WriteLine("Enter test scores for " + names[1]);
const int BOWIE_TEST = 5;
int[] bowieScores = new int[BOWIE_TEST];
bowieScores[0] = int.Parse(Console.ReadLine());
bowieScores[1] = int.Parse(Console.ReadLine());
bowieScores[2] = int.Parse(Console.ReadLine());
bowieScores[3] = int.Parse(Console.ReadLine());
bowieScores[4] = int.Parse(Console.ReadLine());
int sumBowie = bowieScores.Sum();
Console.WriteLine("Enter test scores for " + names[2]);
const int ANANYA_TEST = 4;
int[] ananyaScores = new int[ANANYA_TEST];
ananyaScores[0] = int.Parse(Console.ReadLine());
ananyaScores[1] = int.Parse(Console.ReadLine());
ananyaScores[2] = int.Parse(Console.ReadLine());
ananyaScores[3] = int.Parse(Console.ReadLine());
int sumAnanya = ananyaScores.Sum();
double[] average = { MORGAN_TEST, BOWIE_TEST, ANANYA_TEST };
Console.WriteLine(names[0] + " " + morganScores[0] + " " + morganScores[1] + " " + morganScores[2] + " Average score: {0:N2}", sumMorgan / average[0]);
Console.WriteLine(names[1] + " " + bowieScores[0] + " " + bowieScores[1] + " " + bowieScores[2] + " " + bowieScores[3] + " " + bowieScores[4] + " Average score: {0:N2}", sumBowie / average[1]);
Console.WriteLine(names[2] + " " + ananyaScores[0] + " " + ananyaScores[1] + " " + ananyaScores[2] + " " + ananyaScores[3] + " " + " Average score: {0:N2}", sumAnanya / average[2]);
Console.Read();
}