.NET山洞
能不能有一个山洞,让我不问世事,吸风饮露。。。

using System;
using System.Collections.Generic;
using System.Text;

namespace 課題2
{
    class Program
    {
        public static void Main()
        {
            for (int i = 1; i < 10; i++)
            {
                for (int j = 1; j <= i; j++)
                    Console.Write(i * j + "=" + Convert.ToString(i) + "*" + Convert.ToString(j) + " ");
                Console.WriteLine();
            }
            Console.Read();
        }
    }
}

posted on 2008-11-11 14:09  loverain  阅读(319)  评论(0)    收藏  举报