倒着写的乘法口诀
来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/09/03 06:55:44
倒着写的乘法口诀
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 倒乘法口诀
{
class Program
{
static void Main(string[] args)
{
string str = " ";
int i;
int j;
int sum;
for (i = 9; 0 < i && i < 10; i--)
{
for (j = i; 0 < j; j--)
{
sum = j * i;
Console.Write(j);
Console.Write("*");
Console.Write(i);
Console.Write("=");
Console.Write(sum);
Console.Write(str);
}
Console.WriteLine();
}
Console.Read();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 倒乘法口诀
{
class Program
{
static void Main(string[] args)
{
string str = " ";
int i;
int j;
int sum;
for (i = 9; 0 < i && i < 10; i--)
{
for (j = i; 0 < j; j--)
{
sum = j * i;
Console.Write(j);
Console.Write("*");
Console.Write(i);
Console.Write("=");
Console.Write(sum);
Console.Write(str);
}
Console.WriteLine();
}
Console.Read();
}
}
}