Question: Here is the error I'm getting and code i have: ETest.cpp: In function int main(): ETest.cpp:19:15: error: system was not declared in this scope system(pause);

Here is the error I'm getting and code i have: ETest.cpp: In function int main(): ETest.cpp:19:15: error: system was not declared in this scope system("pause"); ^ 1 # include 2 using namespace std; 3 double GetTotal(double[],int); 4 double GetLargest(double[],int); 5 double GetAverage(double,int); 6 double GetSmallest(double[],int); 7 int main () 8 {int i,numbers=12; 9 double rain[numbers],tot; 10 for(i=0;i>rain[i]; 13 } 14 tot=GetTotal(rain,numbers); 15 cout<<"The total rainfall for the year is: "

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!