Table of contents
Code:
Code explanation:
We can use two for loops to control x, y; the outer loop controls how many lines are printed and the inner loop controls how many expressions and expression content are printed per line
Promotion:
The above idea code only needs to change the maximum value of the condition to print other multiplication tables