No older revisions available
No older revisions available
구구단을 만들어 놓은 페이지입니다.
~cpp #include<iostream> using namespace std; int main() { for(int a=1;a<=9;a++) { for(int i=2;i<=5;i++) { cout<<i<<" * "<<a<<" = "<<i*a<<"\t"; }cout<<endl; }cout<<endl<<endl; for(a=1;a<=9;a++) { for(int i=6;i<=9;i++) { cout<<i<<" * "<<a<<" = "<<i*a<<"\t"; }cout<<endl; } return 0; }