Question: c++ as simple Write a program that displays the pattern like a pyramid where each row should contain an odd number of patterns. Your program

c++ as simple
Write a program that displays the pattern like a pyramid where each row should contain an odd number of patterns. Your program should reads the character used to draw the pattern and a number indicates the number of rows of the pyramid. Note: Your program should repeatedly ask the user if he/she wants to continue running the program or not [Sample Run] Enter number of rows: 8 Enter the pattern: # # #### Continue? Y/N: Y Enter number of rows: 3 Enter the pattern: 0 o 000 ooooo Continue? Y/N: N
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
