65,211
社区成员
发帖
与我相关
我的任务
分享
上面的程序中cout <<j <<'*' <<i <<'=' <<j*i <<'\t';cout <<endl;
<=>
for(j=1;j <=i;j++)
{
cout <<j <<'*' <<i <<'=' <<j*i <<'\t';
}
cout < <endl;
为什么换成cout <<j <<'*' <<i <<'=' <<j*i <<'\t'<<endl;
<=>
for(j=1;j <=i;j++)
{
cout <<j <<'*' <<i <<'=' <<j*i <<'\t'<<endl;
}
for(j=1;j <=i;j++)
cout <<j <<'*' <<i <<'=' <<j*i <<'\t';cout <<endl; cout <<endl;