提交不了~
static void Main(string[] args){
string[] names = new string[] {"吴松","钱东宇","伏晨","陈陆","周茜","林日鹏","何昆","关欣" };
int[] grades = new int[] {89,90,98,56,60,91,93,85 };
int x = Array.IndexOf(grades,grades.Max());
Console.WriteLine("分数最高的是{0},分数是{1}", names[x],grades.Max());
Console.ReadLine();
}
                
            static void Main(string[] args){
string[] names = new string[] {"吴松","钱东宇","伏晨","陈陆","周茜","林日鹏","何昆","关欣" };
int[] grades = new int[] {89,90,98,56,60,91,93,85 };
int x = Array.IndexOf(grades,grades.Max());
Console.WriteLine("分数最高的是{0},分数是{1}", names[x],grades.Max());
Console.ReadLine();
}
首先,右边不能显示代码的运行情况,需要自己复制代码到VS里面运行,其次,VS里面运行结果是正确的情况下 点提交,还是显示错误,只能无奈的选择点击下一个。希望早点改正。。。。
                
                    
                    2015-09-09
                
            double x, y;
x = y = 2;//从右向左赋值,x、y的值都是2
x /= 0.5;
y = 4;
Console.WriteLine(x-y);
并不能显示对啊。
                x = y = 2;//从右向左赋值,x、y的值都是2
x /= 0.5;
y = 4;
Console.WriteLine(x-y);
并不能显示对啊。
                    
                    2015-09-09
                
            Console.WriteLine("我的工资奖金总额是{0}元",salary +prize);
Console.WriteLine("我的税后收入是{0}元",salary+ prize -tax);
                Console.WriteLine("我的税后收入是{0}元",salary+ prize -tax);
                    
                    2015-09-09
                
             
             
        


