algorithms.tutorialhorizon.com

Floyd's Triangle – Java Implementation | Algorithms

Floyd's triangle is a right angled triangular array of natural numbers.It named after Robert Floyd. Rows of the triangle filled by consecutive numbers.First row will have single number which is 1. Second row will have two numbers, which are 2 and 3. Third row will have three numbers, which are 4, 5 and 6.. And so on