title: how to display the maximum value in the array?
body: <pre><code>int main()
  {
     int numbers[30];
     int i;
  
     // making array of 30 random numbers under 100
     for(i=0;i&lt;30;i++)
     {
         numbers[i] = rand() % 100; 
     }
  
     // finding the greatest number in the array
     int greatest = 0;
     srand(1);
     for(i=0;i&lt;30;i++)
     {
          if ( numbers[i] &gt; greatest) 
              greatest = numbers[i];
     }
  </code></pre>
  
  <p>How do I then tell the program to display the max value of the array??
  Thank you</p>