static void Main(string[] args)
{
for (int x=1;x<13;++x)//请填写代码
{
Console.Write(x);
}
}
{
for (int x=1;x<13;++x)//请填写代码
{
Console.Write(x);
}
}
2017-08-23
已采纳回答 / qq_涉猎鸢_03255377
for (int y = 1; y <= 7; y++) { for (int x = 1; x <= 7; x++) { //这里把x <= 7换成x <= y Console.Write(x); if(x==y) break; } //然后这里去掉brea...
2017-08-21
string[] names=new string[]{"吴松","钱东宇","伏晨","陈赫","周蕊","林日鹏","何昆","关欣"};
int[] scores=new int[]{29,90,98,56,60,91,93,85};
int index=0;
int score=scores[0];
for(int i=0;i<scores.Length;i++){ if(scores[i]>score){ score=scores[i];index=i;}}
Console.Write("分数最高的是" + names[index] + ",分数是" + score);
int[] scores=new int[]{29,90,98,56,60,91,93,85};
int index=0;
int score=scores[0];
for(int i=0;i<scores.Length;i++){ if(scores[i]>score){ score=scores[i];index=i;}}
Console.Write("分数最高的是" + names[index] + ",分数是" + score);
Console.WriteLine("{0}{1}{2}",ch[1,1],ch[1,2],ch[2,0]);我没懂
2017-08-21
Console.WriteLine(NAME+"出生在"+CITY+"的一个工人家庭");//使用常量