#代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
for(int n=1;n<=9;n++)
{
for (int m = 1; m <= n; m++)
{
Console.Write("{0}*{1}={2}\t",m,n,m*n);
}
Console.WriteLine();
}
Console.ReadKey();
}
}
}
#效果
网友评论