C++ Program to print right angled pyramid of numbers

C++ program to print Left oriented right angled pyramid
C++ Program to print right angled pyramid of numbers

C++ Program to print right angled pyramid of numbersHere, we are going to implement following pattern:
1
2 3
4 5 6
7 8 9 10

Enter the number of rows: 5                                                                                                    
1                                                                                                                              
2       3                                                                                                                      
4       5       6                                                                                                              
7       8       9       10                                                                                                     
11      12      13      14      15    
Post a Comment