哪里错了?
double price = 4388;//手机的售价
double salary = 4978.67;//本月实发工资
if ( salary >=price)
{Console.WriteLine ("这月工资够买手机!");
}
else
{Console.WriteLine ("这月工资不够买手机!");
}
//请在这里补充条件判断
}
}
}
double price = 4388;//手机的售价
double salary = 4978.67;//本月实发工资
if ( salary >=price)
{Console.WriteLine ("这月工资够买手机!");
}
else
{Console.WriteLine ("这月工资不够买手机!");
}
//请在这里补充条件判断
}
}
}
最赞回答 / 我在屋顶上
全屏显示的只是代码的实现功能,尤其是c#语言,在控制台中结果还是在1秒内结束,况且网页的全屏,建议你用代码在c#中实现功能之后,再将源代码复制到网页中,通过就好了。
2016-04-08
x = y = 2;//从右向左赋值,x、y的值都是2
x =0;
y =y*2;
Console.WriteLine(x-y);
我这样居然对了
x =0;
y =y*2;
Console.WriteLine(x-y);
我这样居然对了
2016-04-07
i just feel that the course is not enough for programmer.
2016-04-07
string[,] name = new string[8, 2] { { "吴松", "89" }, { "钱东宇", "90" },
{ "伏晨", "98" }, { "陈陆", "56" }, { "周蕊", "60" }, { "林日鹏", "91" },
{ "何昆", "93" }, { "关欣", "85" } };
string[,] highest = new string[1, 2] { { "0", "0" } };
{ "伏晨", "98" }, { "陈陆", "56" }, { "周蕊", "60" }, { "林日鹏", "91" },
{ "何昆", "93" }, { "关欣", "85" } };
string[,] highest = new string[1, 2] { { "0", "0" } };