int[] score = new int[] {89,39,100,51,94,65,70 };//分数
Console.Write("不及格的有:");
for (int i = 0; i < score.Length ; i++)
{
if( score[i] < 60 )//筛选条件
Console.Write(score[i]+",");
Console.Write("不及格的有:");
for (int i = 0; i < score.Length ; i++)
{
if( score[i] < 60 )//筛选条件
Console.Write(score[i]+",");
2018-04-25
最赞回答 / 慕丝3378769
可以改但是得先声明变量xstatic void Main(string[] args) { int x = 1 for (int y = 1; y <= 7; y++) { while(x <= y) { Console.Write(x); x++: ...
2018-04-25