using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication28
{
class Program
{
static void Main(string[] args)
{
Console.Write("请输入一个数");
int a = int.Parse(Console.ReadLine());
{
if (a >= 90)
{
Console.WriteLine("A");
}
else
{
if (a >= 80)
{
Console.WriteLine("B");
}
else
if (a >= 70)
{
Console.WriteLine("C");
}
else
{
if (a >= 60)
{
Console.WriteLine("D");
}
else
{
Console.WriteLine("E");
}
}
}
}
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication28
{
class Program
{
static void Main(string[] args)
{
Console.Write("请输入一个数");
int a = int.Parse(Console.ReadLine());
{
if (a >= 90)
{
Console.WriteLine("A");
}
else
{
if (a >= 80)
{
Console.WriteLine("B");
}
else
if (a >= 70)
{
Console.WriteLine("C");
}
else
{
if (a >= 60)
{
Console.WriteLine("D");
}
else
{
Console.WriteLine("E");
}
}
}
}
}
}
}
