U E D R , A S I H C RSS

구구단/변준원

No older revisions available

No older revisions available




구구단을 짜놓은 페이지입니다.


~cpp 
#include<iostream>
using namespace std;

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

	return 0;
}

Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2009-05-27 07:09:19
Processing time 0.0127 sec