2018-11-21

2018-11-21  本文已影响0人  追魂_409e

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

namespace ConsoleApplication2

{

    class Program

    {

        static void Main(string[] args)

        {

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

            {

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

                {

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

                }

                Console.WriteLine();

            } Console.ReadKey();

        }

    }

}

上一篇 下一篇

猜你喜欢

热点阅读