help code a program in C++ to make an inverted half pyramid. The user gets asked about
Fantastic news! We've Found the answer you've been seeking!
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 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.
Related Book For
Posted Date: