public static void Main()
Console.WriteLine("Enter your mark for the first test:");
iMark1 = int.Parse(Console.ReadLine());
Console.WriteLine("Enter your mark for the second test:");
iMark2 = int.Parse(Console.ReadLine());
Console.WriteLine("Enter your mark for the third test:");
iMark3 = int.Parse(Console.ReadLine());
int iSum = iMark1 + iMark2 + iMark3;
double dAverage = iSum/3.0;
Console.WriteLine("Your average is:" + dAverage.ToString());
Console.WriteLine("Congratulations! You have obtained a distinction.");
Console.WriteLine("You have passed.");