欢迎光临散文网 会员登陆 & 注册

99CFB

2023-07-31 18:11 作者:sayllyNotFun  | 我要投稿

#include <iostream> 

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<<"x"<<i<<"="<<i*j<<"  ";

else cout<<j<<"x"<<i<<"="<<i*j<<"   ";

}

else cout<<j<<"x"<<i<<"="<<i*j<<endl;

}

}

}


99CFB的评论 (共 条)

分享到微博请遵守国家法律