Floyd’s Triangle in C – Nested Loops with Counter

Floyd’s triangle in C is a right-angled triangular arrangement of consecutive natural numbers. Row 1 contains 1 number, row 2 contains 2, row 3 contains 3, and so on. It is named after Robert W. Floyd, who used it to teach loop control and nested iteration. The total numbers through row n is 1 + …