How to store user input of one character into EACH element of an array in C++?
<p>I want the user to input just one character, say 'Y', then I want Y to be stored in each element of an array (ie: array[9]) so that when I print it would be like 'YYYYYYYYY', or when it's a 2d array (ie: array[2][2]) it would look like:</p>

<pre><code>YYY
YYY
YYY   
</code></pre>
