香蕉视频app

Keep on going never give up.

Let's Go

C#【練習】九九乘法表

C#Lonely2019-05-20 01:44:46137次0條

for (int i = 1; i < 10; i++)
{
    for (int j = 1; j <= i; j++)
    {
        Console.Write("{0}*{1}={2} \t", j, i, j * i);
    }
    Console.WriteLine();
}
Console.ReadKey();

運行結果:

image.png

暗錨,解決錨點偏移

文章評論

    嘿,來試試登錄吧!