#include <iostream>
using namespace std;
int main(void)
{
for(int i = 1; i < 10; i++)
{
for(int j = 1; j <= i; j++)
{
cout << j << "*" << i << "=" << i*j << "\t";
}
cout << endl;
}
system("PAUSE");
return 0;
}运行结果:
原文地址:http://hthinker.blog.51cto.com/5611549/1659243