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();
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();
本文标题:第十五节课第四个作业
本文链接:https://www.haomeiwen.com/subject/egbekqtx.html
网友评论