~cpp #include <iostream> using namespace std; void main() { int j=1; for(j=1; j < 10; j++) { for(int i=2; i < 6; i++) { cout << i << " * " << j << " = " << i*j << "\t"; if( i > 4 ) cout << endl; } } cout << endl; for(j=1; j < 10; j++) { for(int k=6; k < 10; k++) { cout << k << " * " << j << " = " << k*j << "\t"; if( k > 8 ) cout << endl; } } }