How about this:
[CODE]
highest = 0;
lowest = 0;

for(int month = 0; month < NUM_MONTHS; month++)
{
if ( values[month] > values[highest] )
highest = month;
if ( values[month] < values[lowest] )
lowest = month;
}
//Display total rainfall for year, monthly average, highest and lowest months
cout << endl << endl
<< "The total rainfall for the year is: " << total << " inches" << endl
<< "The average monthly rainfall is: " << average << " inches" << endl
<< "The month with the highest rainfall is: " << months[highest] << endl
<< "The month with the lowest rainfall is: " << months[lowest] << endl;
[/CODE]
?