== 황일정 == {{{~cpp #include using namespace std; int main() { cout<<"************************* 구 구 단 ****************************"< using namespace std; int main() { for(int i=1;i<10;i++) { for(int j=2;j<6;j++) cout << j << " * " << i << " = " << j*i << "\t"; cout << "\n"; } cout << "\n"; for(int k=1;k<10;k++) { for(int h=6;h<10;h++) cout << h << " * " << k << " = " << k*h << "\t"; cout << "\n"; } return 0; } }}} //승균아 당했다 -_-;; == 오승균 == {{{~cpp #include void main() { cout << "<대략 구구단>" << "\n\n"; for (int i = 1; i < 10; i++) { for (int j = 2; j < 6; j++) cout << j << " x " << i << " = " << j * i << "\t"; cout << "\n"; } cout << "\n"; for (int k = 1; k < 10; k++) { for (int l = 6; l < 10; l++) cout << l << " x " << k << " = " << l * k << "\t"; cout << "\n"; } } 음...역시나 텝이었군... 근데 주영이거랑 거의 똑같군 쿠쿠쿠~ }}} == 권정욱 == {{{~cpp #include using namespace std; int num1,num2; void multi(int n1, int n2); int main(){ for (int num2 = 1; num2<10; num2++){ num1 = 2; multi(num1,num2); cout << endl; } cout << endl; for (num2 = 1; num2<10;num2++){ num1 = 6; multi(num1, num2); cout << endl; } return 0; } void multi(int n1, int n2) { cout << n1 << " * " << n2 << " = " ; if (n1 * n2 <10) cout << " " << n1 * n2 << "\t"; else cout << n1 * n2 << "\t"; if (n1==5 || n1 == 9) return; else { multi(n1+1, n2); } } }}} 매우 늦었지만 구구단도 해서 올립니다.. 재귀함수인가? 한번 사용해 봤습니다 ㅎㅎ [Digi-VM] ---- [빵페이지]