What’s Floyd’s Triangle?

Floyd’s triangle is a right triangle of numbers used to teach computer programming. It requires mastery of loops and integer mathematics. It also defines triangular numbers and the lazy restaurateur sequence, and is often taught with Pascal’s triangle. Floyd’s triangle is a series of numbers distributed sequentially across a series of lines. It is used […]

Skip to content