class FenShuo
{
public static void main(String[] args)
{
int num=67;
if (num>=90&&num<=100)
{
System.out.println("A等");
}
else if (num>79&&num<90)
{
System.out.println("B等");
}
else if (num>69&&num<80)
{
System.out.println("C等");
}
else if (num>59&&num<70)
{
System.out.println("D等");
}
else if (num>=0&&num<60)
{
System.out.println("E等");
}
else
System.out.println("chenjibucunzai");
}
}
|
|