Floyd’s triangle in Java

Floyd’s triangle in Java

Here, you will learn and get the program code of the Floyd triangle in Java programming.

Floyd’s triangle is a right-angled triangular array of natural numbers. It is named after Robert Floyd, who invented it in the 1960s. Floyd’s triangle Example:

1
2 3
4 5 6
7 8 9 10
11 12 13 14 15

Program of floyd’s triangle in java

Output

floyds-triangle-in-java

 

 

 

Check out our other Java Programming Examples

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top