for(int num = 1;num <= 9; num++)
{
for (int fyq = 1; fyq <= num; fyq++)
{
Console.Write("{0}*{1}={2}\t", num, fyq, num * fyq);
}
Console.WriteLine();//换行
}
Console.ReadKey();
无标题.png
for(int num = 1;num <= 9; num++)
{
for (int fyq = 1; fyq <= num; fyq++)
{
Console.Write("{0}*{1}={2}\t", num, fyq, num * fyq);
}
Console.WriteLine();//换行
}
Console.ReadKey();
无标题.png
本文标题:2018-11-21 九九乘法表
本文链接:https://www.haomeiwen.com/subject/lslqqqtx.html
网友评论