U E D R , A S I H C RSS

구구단/장창재

창재군이 만들어 놓은 구구단 소스입니다.


~cpp 

#include <iostream.h>

int main()
{

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

	cout << endl << endl;

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

	return 0;
}
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:28:45
Processing time 0.0166 sec