2018-12-20

#代码

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApplication1

{

    class Program

    {

        static void Main(string[] args)

        {

            for (int i = 1; i < 10; i++)

            {

                for (int j = 1; j <= i; j++)

                {

                    Console.Write("{0}*{1}={2}\t", j, i, j * i);

                }

                Console.WriteLine();

            }

            Console.ReadKey();

        }

    }

}

#效果


©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • mean to add the formatted="false" attribute?.[ 46% 47325/...
    ProZoom阅读 7,593评论 0 3
  • #代码 using System; using System.Collections.Generic; using...
    柏建春阅读 806评论 0 0
  • #代码 using System; using System.Collections.Generic; using...
    柏建春阅读 1,449评论 0 0
  • #代码 using System; using System.Collections.Generic; using...
    柏建春阅读 1,573评论 0 0
  • 分享给大家一个很久之前写的一个纯C#控制台 3D闯关游戏代码 直接复制就可以用 初学者可以看看 学习一下编程思想还...
    Magic_Dong阅读 9,662评论 3 0