U E D R , A S I H C RSS

구구단/손동일

구구단을 하자

~cpp 
#include <iostream>
using namespace std;

void main()
{
	for (int j=1; j< 10; j++)
	{
		for (int i=2; i<6; i++)
		{
			cout << i << " * " << j << " = " << i*j << "\t";
		}
		cout << endl;
	}

	for (int k=1; k<10; k++)
	{
		for (int m=6; m<10; m++)
		{
			cout << m << " * " << k << " = " << m*k << "\t";
		}
		cout << endl;
	}

}

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:44
Processing time 0.0154 sec