Menu

[Solved]Create C Program Fills 5 5 Two Dimensional Array Integer Random Numbers Ranging 0 99 Calcu Q37293967

Create a C++ program that fills 5 by 5 two-dimensional arraywith integer random numbers ranging from 0 to 99. Calculate the sumof each rows and columns of the array entries.

Purpose of the program : Creating a program that fills 5 by 5two-dimensional array and sum each rows and columns.

Section 1 : Receive a random number seed, then fill the 5 by 5array.

Section 2 : Display the contents of the array.

Section 3 : Calculate the sum of each rows and columns anddisplay the results.

#include #include using namespace std; int main() { intary[5][5], i, j, sum; // Write your own program. } Output example: Microsoft Visual Studio Debug Console Please enter the last 3 digits of your student ID : 123 63 40 53 75 4 6

Output example: Microsoft Visual Studio Debug Console Please enter the last 3 digits of your student ID : 123 63 40 53 75 4 65 49 78 60 64 29 50 80 63 29 86 58 95 67 30 59 34 3 66 83 4 63 : 235 316 251 336 245 40 53 75 65 49 78 60 64: 29 50 80 63 29: 8658 95 6730 : 59 34 3 66 83 : 279 244 331 260 269 Show transcribed image text Output example: Microsoft Visual Studio Debug Console Please enter the last 3 digits of your student ID : 123 63 40 53 75 4 65 49 78 60 64 29 50 80 63 29 86 58 95 67 30 59 34 3 66 83 4 63 : 235 316 251 336 245 40 53 75 65 49 78 60 64: 29 50 80 63 29: 8658 95 6730 : 59 34 3 66 83 : 279 244 331 260 269

Expert Answer


Answer to Create a C++ program that fills 5 by 5 two-dimensional array with integer random numbers ranging from 0 to 99. Calculate… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *