public static void Main()
Console.WriteLine("Please type in your major");
strmajor = Console.ReadLine();
Console.WriteLine("Please type in your score");
strscore = Console.ReadLine();
bool IsValidNumber = Int32.TryParse(strscore, out int_score);
if (IsValidNumber == false)
Console.WriteLine("Please enter a valid number!");
Console.WriteLine("Score is a whole number.");
if (int_score >= 0 && int_score <= 100){
Console.WriteLine("Score is valid.");
Console.WriteLine("Please enter a score between 0-100!");
Console.WriteLine("You get an A.");
else if (int_score >= 80 && int_score <= 89) {
Console.WriteLine("You get a B.");
else if (int_score >= 70 && int_score <= 79) {
Console.WriteLine("You get a C.");
else if (int_score >= 60 && int_score <=69) {
Console.WriteLine("You get a D.");
Console.WriteLine("You get an F");
if (int_score >= 90 && strmajor == "Information Systems"){
Console.WriteLine("Congratulations! You are one of the best students in IS.");
else if(int_score >= 90){
Console.WriteLine("Congratulations! You are one of the best students.");