Question: Q 1 ) Make the grades array. Q 2 ) Using an ehanced for loop, add up the numbers in the last array 1 ,

Q1) Make the grades array.
Q2) Using an ehanced for loop, add up the numbers in the last array 1,3,2,1,1.
Q3)Do the same but with a traditional for loop.
Q4) Write code to swap the 2 arrays [3,1,2] and [1,7,2].
Q5) Using a traditional for loop, add up the first elements of each array (3+4+1+1).
Q6) Do the same but with an enhanced for loop.
Q7) Replace the array [4,3] with the array 1,2,1.
Q8) Add up all the numbers in the 2D array using traditional for loops.
Q9) Add up all the numbers in the 2D array using enhanced for loops.
Q10) Make grades refer to this new 2D array ,{1,1,1}, null
 Q1) Make the grades array. Q2) Using an ehanced for loop,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!