Question: I need a C++ program that will print an inverted pyramid to where the numbers are decreasing when going down the side. I have three

I need a C++ program that will print an inverted pyramid to where the numbers are decreasing when going down the side. I have three separate solutions of when I placed the numbers it asks for this code must look like all four of the solutions when the code is ran and these same numbers are entered. Please use for loops but no arrarys. Here are out puts when the solution was ran. Note I entered a positive even number then it told me to try again and I put a positive odd number. Also Note these are three different outputs of the same code.
 I need a C++ program that will print an inverted pyramid
to where the numbers are decreasing when going down the side. I
have three separate solutions of when I placed the numbers it asks

Enter a positive odd number: 2 Enter a positive odd number. Try again: 9 987654321 8765432 76543 654

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!