How to add/subtract/multiply/divide all the values in multi-dimension array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to add/subtract/multiply/divide all the values in multi-dimension array?

adding/subtracting/multiplying/dividing in multi-dimension array example: myArray[3][3] = { {1,2,3}, {4,5,6}, {7,8,9} }

12th Aug 2017, 11:04 PM
TheAooni8
TheAooni8 - avatar
1 Answer
0
You'll have to use 2 nested for loops
12th Aug 2017, 11:50 PM
voidneo