Preview:
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
	cout << "嗨客网(www.haicoder.net)\n" << endl;
	int i = 1;
    do{
        int j = 1;
        do
		{
			int mul = i * j;
			cout << j << "*" << i << "=" << mul << " ";
            j += 1;
        }while(j <= i);
        i++;
        cout << endl;
    }while(i <= 9);
	return 0;
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter