已采纳回答 / 往后余生不将就
?把Console.WriteLine("我的工资奖金总额是{0}元",salary +prize);换成Console.Write("我的工资奖金总额是{0}元",salary +prize);就是去掉WriteLine中的Line就行。
2020-04-17
最赞回答 / weixin_慕数据4058855
已解决using System;using System.Collections.Generic;using System.Text;namespace projGetMaxScore{ class Program { static void Main(string[] args) { string[,] name_score={{"吴松","89"},{"钱东宇","90"},{"伏晨","98"},{"陈陆","56"},{"周蕊","60"...
2020-04-16
for (int x = 0; x < 7; x++)
{
for (int y = 0; y < 7; y++)
{
if (x == y || (x + y) == 6) { Console.Write("o"); }
else { Console.Write("."); }
}
Console.WriteLine();
}
{
for (int y = 0; y < 7; y++)
{
if (x == y || (x + y) == 6) { Console.Write("o"); }
else { Console.Write("."); }
}
Console.WriteLine();
}
最新回答 / qq_慕侠5280997
using System;using System.Collections.Generic;using System.Text;namespace projAboveAvg{ class Program { static void Main(string[] args) { string[,] name = new string[,] { { "景珍", "90" }, { "林慧洋", "65" }, { "成蓉", "88" }, { "洪...
2020-04-09