Question: help code a program in C++ to make an inverted half pyramid. The user gets asked about the number of rows and the character to

help code a program in C++ to make an inverted half pyramid. The user gets asked about the number of rows and the character to display and gets a display as shown below.

 

Sample Output:

Input number of rows: 5

Input character to repeat: *                                                                                 * * * * ** * * ** * * * **

 

 

please use iostream library, arrays, loops, or if conditions no more than that.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Certainly Heres a program in C that creates an inverted half ... View full answer

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!