How can I create a program, where the user inputs an integer and it outputs a 90 degree number pyramid? : <p>I already have a bit, however I have no idea what to do from where I am. 
This is what I am trying to do. </p>

<p>ex.</p>

<p>Input: 5</p>

<p>Output:</p>

<p>5</p>

<p>44</p>

<p>333</p>

<p>2222</p>

<p>11111</p>

<p>This is my current code:</p>

<pre><code>    #include&lt;iostream&gt;
    using namespace std;
    int main(){
int a;
int counter = 1;
int counter4;
int counter5;
cout &lt;&lt; "Enter an integer, any integer" &lt;&lt; endl;
cin &gt;&gt; a;
cout &lt;&lt; a &lt;&lt; endl;
cout &lt;&lt; endl;
while(a &gt;= counter){
    counter5 = a--;
    counter4 = a;
    while(counter4 &gt; counter5){
        cout &lt;&lt; counter5;
        cout &lt;&lt; "   " &lt;&lt; endl;
        counter4--;
    }
}


    }
</code></pre>

<p>I know that I have a lot more I have to do but I just don't know how. Thanks for any support and help you guys can give me. </p>
