We are dealing with a 1D array of n integer values.
1. Write a function called InputArray that inputs an array of integers.
Expert's answer
voidInputArray(){
int array_1[5];
cout<<"Enter the elements of the array\n";
for(int i=0; i<10; i++){
cout<<"Enter element\t"<<(i+1);
cin>>array_1[i];
}
}
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot