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
Get step-by-step solutions from verified subject matter experts
