1/9
Vocabulary flashcards covering C++ nested loop pattern printing algorithms, including palindromic number pyramids, inverted character triangles, and inverted number triangles.

Palindromic Number Pyramid Pattern
A pattern for n=4 that prints n−i−1 leading spaces, followed by ascending numbers from 1 to i+1, and then descending numbers from i down to 1, producing the rows 1, 121, 12321, and 1234321.
Pyramid Leading Spaces Loop
The inner loop construct for(int j=0; j<n-i-1; j++) which outputs n−i−1 space characters to properly indent each line i of the pyramid.
First Number Half Loop (nums1)
The inner loop for(int j=1; j<=i+1; j++) in the pyramid pattern that prints increasing integers starting at 1 up to i+1.
Second Number Half Loop (nums2)
The inner loop for(int j=i; j>0; j--) in the pyramid pattern that prints decreasing integers starting at i down to 1.

Inverted Character Triangle Pattern
A pattern that prints i leading spaces followed by 4−i occurrences of an uppercase character per row, incrementing from 'A' to 'D' across four rows.
Inverted Triangle Space Loop
The inner loop for(int j=0; j<i; j++) used in inverted triangle patterns to print i leading spaces on row i, creating an increasing indent from top to bottom.
Row Element Count Formula (4−i)
The termination condition expression j < 4 - i (or n−i) determining how many numbers or characters are printed on row index i, decreasing from 4 elements down to 1.
Character Increment Statement (ch++)
The operation placed at the end of the outer loop body that advances the ASCII character ch to the subsequent character in the alphabet (e.g., from 'A' to 'B') after completing a row.

Inverted Number Triangle Pattern
An inverted triangle pattern where row i displays i leading spaces followed by 4−i copies of the value i+1, generating the rows 1111, 222, 33, and 4.
Row Value Expression (i+1)
The output expression cout << i+1; in the inverted number triangle pattern that prints the row's 1-based index repeatedly across that row.