为什么在vs2103上运行成功,在这里就不行?
for(int x=1;x<=7;x++) { for (int y = 1; y <= 7; y++) { a = x == y || x + y == 8 ? "o" : "."; Console.Write(a); } Console.WriteLine(); }
for(int x=1;x<=7;x++) { for (int y = 1; y <= 7; y++) { a = x == y || x + y == 8 ? "o" : "."; Console.Write(a); } Console.WriteLine(); }
2017-10-23
举报