Question: Fill a 40x40 array with random numbers, 0 through 9. Dont use or srand in your program. Print out the array or, at least the

Fill a 40x40 array with random numbers, 0 through 9. Dont use or srand in your program. Print out the array or, at least the portion that appears in your output. Your numbers will be different than the ones shown below. (Note: you may not be able to see the whole array, it doesn't matter, make a graphic of whatever appears.) Then output the sum along both diagonals of the array. Your sums may be different than the ones shown below. 15 points for upper left to lower right diagonal; 10 points for lower left to upper right diagonal.

C++

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!