/* which is the highest temperature and its index ??? REWRITE BOTH, THE READ AND THE TASK ITSELF BY FUNCTIONS*/ #include #include using namespace std; int main() { const int max_v=30; float h[max_v]; int db; do { cout << "Nr. of data between: (1<=db<= "<>db; }while(db<=1 || db>=max_v); cout << "Give the values : " << endl; for(int i=0; i>h[i]; } int index=0; float max_val=h[0]; for(int i=1; i