using System;
public class HelloWorld
{
public static void Main()
{
int x = 5000;
Console.Write("工作评定等级(A,B,C,D,E):");
char y =char.Parse(Console.ReadLine());
Console.Write("李四来年工资为:");
switch(y)
{
case 'A':x = x + 500;Console.WriteLine(x);break;
case 'B':x = x + 200;Console.WriteLine(x);break;
case 'C':x = x + 0 ;Console.WriteLine(x);break;
case 'D':x = x - 200;Console.WriteLine(x);break;
case 'E':x = x - 500;Console.WriteLine(x);break;
default :Console.WriteLine("请输入正确的评级代码");break;
}
}
}