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

In C++. Question 9 (1 point) For the following array declaration, write an appro

ID: 3721488 • Letter: I

Question

In C++.

Question 9 (1 point) For the following array declaration, write an appropriate for statement that would setall of the array's values equal to 45. No comments or functions are necessary. Be sure to strike the Enter key before you click on the Save button. int b[74] ab Save Question 10 (1 point) For the following array declaration, write an appropriate for statement that would display all of the array's values, each on a different line. No comments or functions arenecessary. Be sure to strike the Enter key before you click on the Save button. double a [37]

Explanation / Answer

Ans:9

for(int i = 0; i<74; i++)

{

b[i] = 45;

}

===============================================================

Ans:10

for(int i = 0; i<37; i++)

{

cout<<a[i]<<endl;

}

===============================================================

Kindly Check and Verify Thanks..!!!