Question: Write code in C++ P4- Inverted Pyramid of Odd Numbers Write a program that prompts the user to enter an integer from 1 to 15
Write code in C++

P4- Inverted Pyramid of Odd Numbers Write a program that prompts the user to enter an integer from 1 to 15 (that shows the number of lines) and displays an inverted pyramid of odd numbers starting with 1, as shown in the following sample run: Please enter the number of lines: 7 1311 9 119 911 13 911 7 Run the code and show the result for input 9 (9 number of lines) Your C++ code for this HW -- Copy and paste your code here Sample Run Result Copy and paste the result here (e.g. the screen shot of the result you get by running the code)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
