subject
Computers and Technology, 12.04.2021 17:00 Need1ng

For this exercise, use the following 2D array, which is already declared and initialized in your programming environment below. Do not rename the provided array - your program should refer to it as a. 34 38 50 44 39 42 36 40 43 44 24 31 46 40 45 43 47 35 31 26 37 28 20 36 50 Your task is to output the sum of all values in the 2D array, along with the average of all values in the 2D array, as seen in the sample run below. Note: Be sure that your program accounts for arrays of any size, not just arrays that are 5 x 5. Your program will be tested against arrays of size n by n. It should work for any square array, not just the one shown. You should also use for loops in your program, not while loops. Sample Run Sum of all values: 949 Average of all values: 37.96

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Advantages and disadvantages of binary system
Answers: 1
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 22.06.2019 17:00
Acase study allows a more detailed look at the life of a single subject than any other study.
Answers: 3
You know the right answer?
For this exercise, use the following 2D array, which is already declared and initialized in your pro...
Questions
question
Mathematics, 03.11.2020 21:50
question
Mathematics, 03.11.2020 21:50
question
Geography, 03.11.2020 21:50
Questions on the website: 13722363