public static void Main()
Console.WriteLine("Enter your major.");
string Major = Console.ReadLine();
Console.WriteLine("Enter your score.");
string strScore = Console.ReadLine();
bool IsValidNumber = Int32.TryParse(strScore, out intScore);
if (IsValidNumber == false)
Console.WriteLine("You did not enter a whole number.");
if (intScore < 0 || intScore > 100)
Console.WriteLine("Score is not in range.");
Console.WriteLine("You get " + Grade + ".");
Console.WriteLine("Congratulations! You are one of the best students in " + Major + ".");
Console.WriteLine("Congratulations! You are one of the best students.");