#include <iostream> #include <iomanip> #include <cmath> using namespace std; int main() { int i,j; for(i=1;i<=9;i++) { for(j=1;j<=i;j++) { if(j<i){ if(i*j/10!=0) cout<<j<<"*"<<i<<"="<<i*j<<" "; else cout<<j<<"*"<<i<<"="<<i*j<<" "; } else cout<<j<<"*"<<i<<"="<<i*j<<endl; } } return 0; }
标签:std,main,int,4.20,打卡,include From: https://www.cnblogs.com/Sunyiran/p/17332443.html