Print Floyd’s Triangle pyramid in C programming

0
6
programming solution

 Question: 

Write a program that prompts the user to enter a int value and display the Floyd’s triangle pyramid like output sample.

 Output Sample:   

Input
Output
3
3



4




5
1
2 3
4 5 6

1
2 3
4 5 6
7 8 9 10

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

 Source Code: 

 List of C Exercises: 

LEAVE A REPLY

Please enter your comment!
Please enter your name here