#region 08:for语句打印九九乘法表
class ForApp
{
public static void fun()
{
//打印表头
Console.WriteLine("九九乘法表");
//打印九九表
for (int i = 1; i <= 15; i++)
{
//计算并格式化输出九九表的内容
for (int j = 1; j <= i; j++)
{
Console.Write("{0}x{1}={2}\t", i, j, i * j);
}
//换行
Console.WriteLine();
}
}
}
#endregion