public static void Main()
Console.WriteLine("What is your major in school?");
string strMajor = Console.ReadLine();
Console.WriteLine("What is your score?");
string strScore = Console.ReadLine();
bool IsValidNumber = Int32.TryParse(strScore, out intScore);
Console.WriteLine("Error: Please enter a valid number!");
Console.WriteLine("Valid whole number is {0}", intScore);
if (intScore < 0 || intScore > 100)
Console.WriteLine("Error: Please enter a number between 0 and 100!");
Console.WriteLine("Number {0} is between 0 and 100", intScore);
Console.WriteLine("You get A");
if (strMajor == "Information Systems")
Console.WriteLine("Congratulations! You are one of the best students in IS.");
Console.WriteLine("Congratulations! You are one of the best students.");
else if ( intScore >= 80)
Console.WriteLine("You get B");
else if ( intScore >= 70)
Console.WriteLine("You get C");
else if ( intScore >= 60)
Console.WriteLine("You get D");
Console.WriteLine("You get F");