//打印99乘法表
for (int i = 1; i <=9; i++)
{
for (int j = 1; j <=9; j++)
{
Console.Write("{0}*{1}={2}\t", i, j, i * j);
}
Console.WriteLine();
}
Console.ReadKey();
//下三角排序输出
for (int i = 1; i <=9; i++)
{
for (int j = 1; j <=i; j++)
{
Console.Write("{0}*{1}={2}\t", i, j, i * j);
}
Console.WriteLine();
}
Console.ReadKey();