using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace If_Else_Selection
{
class Program
{
static void Main(string[] args)
{
string inputvalue;
Console.WriteLine("Sup Brah, Enter your totally narly mark below. I'll give you your grade in return");
inputvalue = Console.ReadLine();
int input = int.Parse(inputvalue);
if (input < 39)
{
Console.WriteLine("You got an 'F' you bum!");
Console.ReadKey();
}
else if (input <= 49)
{
Console.WriteLine("you got a 'D'... not a horrendous grade");
Console.ReadKey();
}
else if (input <= 59)
{
Console.WriteLine("you got a 'C'... not bad... ");
Console.ReadKey();
}
else if (input <= 69)
{
Console.WriteLine("you got a 'B'... nice job... still... room for improvement");
Console.ReadKey();
}
else
{
Console.WriteLine("ha!... you're an over achiever. nobody likes you");
Console.ReadKey();
}
}
}
}