A floyd's triangle is an right angled triangular array of natural numbers. It is defined by filling the rows of the triangle
with the consecutive numbers,starting with 1 in the top left corner:
The sample of this program is :
1
2 3
4 5 6
7 8 9 10
The main source code of this program is given below:
0 comments :
Post a Comment