99乘法表 计124-4 耿娜

#include<iostream>
#include<iomanip>
using namespace std;
void main()
{
 for(int x=1;x<=9;x++)
 {
  for(int y=1;y<=9;y++)
   if(x<y) break;
   else
    cout <<setw(2)<<x <<"*" <<y <<"=" <<x*y;
 
   cout <<endl;}
}

你可能感兴趣的:(99乘法表 计124-4 耿娜)