c++ printing the complete square numbers in an array : <p>How can i print all complete square numbers available in the array</p>

<p>this is my array:</p>

<pre><code>int main()
{

int array[6];

cout&lt;&lt;"Enter 6 #'s: "&lt;&lt;endl;
for(int i=0; i&lt;6; i++) {
    cin&gt;&gt;array[i];
}
</code></pre>
