public static void Main()
Console.WriteLine("What is your major?");
string strMajor = Console.ReadLine();
Console.WriteLine("What is your score?");
string strScore = Console.ReadLine();
bool ValidScore = int.TryParse(strScore, out iScore);
Console.WriteLine("Score must be a number!");
if (!(iScore >= 0 && iScore <= 100))
Console.WriteLine("Score must be between 0 and 100.");
if (iScore >= 90) Letter = "A";
else if (iScore >= 80) Letter = "B";
else if (iScore >= 70) Letter = "C";
else if (iScore >= 60) Letter = "D";
Console.WriteLine("You get an {0}", Letter);
if (iScore > 90) Console.WriteLine("Congratulations! You are one of the best students{0}.",
strMajor == "IS" ? " in Information Systems" : "");