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] = /

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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] = /

Post by answerhappygod »

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?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply