摘要:
for (int h = 1; h <= 10; h++) { for (int kg = 10; kg >= h; kg--) { Console.Write(" "); } for (double xx=1;xx<=h ;xx=xx+0.5) { Console.Write("66"); } C 阅读全文
摘要:
Console.Write("请输入到达了第几节楼梯"); int a = Convert.ToInt32(Console.ReadLine()); int end = 0; if (a >= 0 && a <= 49) { for (int b = 0; b <= a; b++) { end = 阅读全文
摘要:
//求和 int a = Convert.ToInt32(Console.ReadLine()); int c = 0; for (int b = 0; b <= a; b++) { c = c + b; } Console.Write(c); //阶乘 int a = Convert.ToInt3 阅读全文