输出乘法口诀

#include<iostream>
#include<iomanip>
using namespace std;

int main()
{
int i,j;
for(i=1;i<=9;i++)
{
for(j=1;j<=i;j++)
{
cout<<i<<"*"<<j<<"="<<setw(2)<<i*j<<" ";
}
cout<<endl;
}
原文地址:https://www.cnblogs.com/mazhuang/p/1641704.html