C++ help. I'm having problems getting this right
<p>Here is the code that I have so far. What I'm trying to do is make the program display the number of children over 60 inches and their height. The program now shows the number of children over 60 inches, but I also need it to display the height of the children over 60 inches. Thanks in advance!</p>

<pre><code>#include &lt;iostream&gt;
using namespace std;
int main ()
{
    double childHeight[10];
    int numChildren = 0;

    for (int x = 0; x &lt; 10; x = x + 1)
    {
        childHeight[x] = 0.0;
    }
    cout &lt;&lt; "You will be asked to enter the height of 10 children." &lt;&lt; endl;
    for (int x = 0; x &lt; 10; x = x + 1)
    {
        cout &lt;&lt; "Enter the height of child: ";
        cin &gt;&gt; childHeight[x];
    }
    cout &lt;&lt; "The number of children over 60 inches are: "&lt;&lt; endl;
    for (int x = 0; x &lt; 10; x = x + 1)
    {
        if (childHeight[x] &gt; 60)
        {                
           numChildren = numChildren + 1;                
        }  
    }
    cout &lt;&lt; numChildren &lt;&lt; endl;
    system("pause"); 
    return 0;
}
</code></pre>
