Write a function to read in numbers and put them into thearray. #include <iostre
ID: 3614454 • Letter: W
Question
Write a function to read in numbers and put them into thearray.
#include <iostream>
using namespace std;
int Function1(double []);
void PrintArray(const double [], int);
const int MAXSIZE =100;
int main()
{
doublearray1[100];
int count;
count =Function1(array1);
cout<<"Therewere "<<count<<" numbers entered into thearray."<<endl;
//function call tofunction that will print the array
return 0;
}
//Write the function here to read in numbers into thearray. The array is called myarray.
//add comments describing what this function does, what ispassed to it, what it sends back, etc.
int Function1(double myarray[])
{
}
//Write the new function here along with comments
//add comments describing what this function does, what ispassed to it, what it sends back, etc.
void PrintArray(const double a1[], int size)
{
}
Explanation / Answer
please rate - thanks #include using namespace std; int Function1(double []); void PrintArray(const double [], int); const int MAXSIZE =10; int main() { double array1[100]; int count; count =Function1(array1); coutRelated Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.