I code frist point then I don't know how to code others | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I code frist point then I don't know how to code others

Create a menu having the following functionality.  A function to automatically store values in 10*10 array.  A function that finds the average value in the above array.  A function to update the values of the diagonal line in the same array.  A function to print out the largest and smallest value in the same array. You need to use the switch command and the default command, to solve the second part of this assignment.

12th May 2020, 5:53 PM
Shahed
Shahed - avatar
5 Answers
0
What type of menu? A gui?
12th May 2020, 11:34 PM
Mark McGuire
Mark McGuire - avatar
0
I try to solve it but their is alot of mistake
13th May 2020, 12:15 AM
Shahed
Shahed - avatar
0
for (i = 0; i < rowCount; i++) should probably be for (i = 0; i <= rowCount; i++) for all instances. I think that's what the errors are.
13th May 2020, 12:21 AM
Mark McGuire
Mark McGuire - avatar
0
OK I will change it. thx
13th May 2020, 12:25 AM
Shahed
Shahed - avatar