landv
#include "pch.h"
#include <iostream>
#include <iomanip>

using namespace std;
int main()
{
    std::cout << "Hello World!\n"; 

    for (int i = 1; i < 9; i++)
    {
        for (int j = 1; j <=i ; j++)
        {
            cout << j << \'X\' << i << \'=\';
            cout << setfill(\'0\') << setw(2) << i * j;
            if (j < i)
                cout << "\t";
        }
        cout << endl;
    }
    system("pause");
    return 1;
}

 

分类:

技术点:

相关文章:

  • 2021-10-03
  • 2021-12-12
  • 2021-11-10
  • 2021-05-30
  • 2022-12-23
猜你喜欢
  • 2021-12-10
  • 2022-02-02
  • 2022-01-02
相关资源
相似解决方案