Program to print the Floyd’s triangle

 

Sample Input
Enter the row Size for the Floyd’s Triangle: 5
Sample Output
Floyd’s Triangle
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15

You may also like...