Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

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);         cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote