In c++
2) Assume we want to add all of the numbers in a3-dimensional array of integers declared as int arr[3][2][3] = /*initialization values here */;
a) How many loops would be needed to use this?
b) Which would be better to use--for loops or whileloops--and why?
c) How many integer elements in the array?
In c++ 2) Assume we want to add all of the numbers in a 3-dimensional array of integers declared as int arr[3][2][3] = /
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am