a) Write a program to generate a pyramid as shown below. The program should take the number
of rows as an input from the user.

July 6, 2021 in C and CPP
a) Write a program to generate a pyramid as shown below. The program should take the number
of rows as an input from the user.