问答详情
源自:4-10 编程练习

???????

using System;

using System.Collections.Generic;

using System.Text;



namespace Test

{

    class Program

    {

        static void Main(string[] args)

        {
            for(int i = 0;i < 7;i++)
            {
                for(int j = 0;j < 7;j++)
                {
                    if(j == i || i == 7-j-1)
                    {
                        Console.Write("0");
                    }
                    else
                    {
                        Console.Write(".");
                    }
                }
                Console.WriteLine();
            }
        }
    }
}


提问者:漂白猪 2024-03-03 13:48

个回答

  • 慕设计2558029
    2024-04-07 17:19:51

    不是数字0,是字母o

  • weixin_慕娘9031036
    2024-03-10 21:28:15

    https://img1.sycdn.imooc.com/65edb54600015ace05270530.jpg我的是这样的,你的第24行,试试改成i+j=8