Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started