C language-nine to nine multiplication table

Nine-nine multiplication table-C language implementation

With the help of C language loop to realize the multiplication table of nine to nine, the formatted positive sequence is required to be displayed on the terminal.

int main()
	int i, j;

	for (i = 1; i < 10; i++)
		for (j = 1; j <= i; j++)
	return 0;

Screenshot of program running (Visual Stdio 2019 compiler)
Screenshot of program running
Terminal display big picture
This topic mainly examines the use of loops, which can be easily achieved with the help of for loop nesting.
Error-prone point: the end of the inner loop is linked to the end condition of the outer loop.

Guess you like

Origin blog.csdn.net/ABC68675/article/details/113098155