int[] scores = new int[200];
int[] scoreCurrency = new int[101];
for (int i = 0; i < 200; i++)
Console.Write("Put a grade for student" + (i + 1) + ": ");
scores[i] = int.Parse(Console.ReadLine());
scoreCurrency[scores[i]]++;
Console.WriteLine("spilt of grades:");
for (int i = 100; i >= 0; i--)
if (scoreCurrency[i] > 0)
Console.WriteLine(i + " - " + scoreCurrency[i] + " students");
int[] rangeCurrency = new int[10];
for (int i = 0; i < 200; i++)
int rangeIndex = scores[i] / 10;
if (rangeIndex == 10) rangeIndex = 9;
rangeCurrency[rangeIndex]++;
int maxRangeCount = rangeCurrency[0];
for (int i = 1; i < 10; i++)
if (rangeCurrency[i] > maxRangeCount)
maxRangeCount = rangeCurrency[i];
Console.WriteLine("The most common range is: " + (maxRangeIndex * 10) + "-" + (maxRangeIndex * 10 + 9));