用c#写一个小九九乘法表
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleManyHellos
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("打印小九九乘法表");
int i, j;
for (i = 1; i <= 9; i++)
{
for (j=1; j<=i; j++)
{
Console.Write("{0} * {1} = {2}\t", i, j, i * j);
}
Console.WriteLine();
}
}
}
}![[C#小程序]命令行小程序之小九九乘法表的实现代码 [C#小程序]命令行小程序之小九九乘法表的实现代码](https://img.php.cn//upload/image/197/938/861/1490331876217078.jpg)
以上就是[C#小程序]命令行小程序之小九九乘法表的实现代码的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号