The C language implements a nine-nine-nine multiplication table with 9 rows and 9 columns, focusing on the mastery of the for loop!

 

There are a lot of small partners who wrote privately to me saying that they need the code of the multiplication table, so I sorted it out

The code to output the complete multiplication table, upper right, lower right, upper left, and lower left multiplication table is given below.

[Code 1] Output square:

operation result:

 

[Code 2] Output upper right triangle and upper left triangle:

operation result:

Run results after removing eight spaces:

 

[Code Three] Output the lower right and lower left triangles:

operation result:

The running result after removing the loop:

Guess you like

Origin blog.csdn.net/u010608296/article/details/113108446