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

Modify the following 10 x 10 (10col, 10 rows) array by writing a code to find th

ID: 3635262 • Letter: M

Question

Modify the following 10 x 10 (10col, 10 rows) array by writing a code to find the maximum and minumum vaule.

*Use 'For Loop' statements for the Max and Min code.

Display output when complete.

#include <iostream>

#include <array>

using namespace std;
int main()
{
int array[10][10];
for(int i=0; i<10; i++)
for(int j=0; j<10; j++)
array[i][j] = rand ( )% 100;

for(int i=0; i<10; i++)
{
for(int j=0; j<10; j++)
{
cout << array[i][j] << " " << " ";
}
cout << endl;
}
return 0;
}

Explanation / Answer

#include #include using namespace std; int main() { int array[10][10]; int max,min; for(int i=0; i
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