Write a c++ program to display the below pattern with n rows, where n is in the range between 1 and 100. The variable n should be entered by the user. If the user input is between 1 and 100 then...


Write a c++ program to display the below pattern with

n
 rows, where
n
 is in the range between 1 and 100. The variable
n
 should be entered by the user. If the user input is between 1 and 100 then output the pyramid as given below, otherwise prompt the user to enter
n
 again.




Here is the sample output:






Enter the number of rows: 6



1


2   3


3   4   5


4   5   6   7


5   6   7   8   9


6   7   8   9   10   11



Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here