2011年11月07日

来源:互联网 发布:搜狐网络大厦11层 编辑:程序博客网 时间:2024/06/05 22:31
#include <iostream>#include <iomanip>using namespace std;int main (){ int i,j,m; i=1; while(i<=9) {  j=1;  while(j<=i)  {   m=j*i;   cout<<setw(3)<<j<<"*"<<i<<"="<<m;   j++;  }  cout<<endl;  i++; } return 0;}

老师,我好高兴,我终于把这个程序给编出来了。


原创粉丝点击