Question: Write a loop to iterate through each index of this 2D array. int inventory [5] [2] = {{9345, 45}, {9346, 78), (9347, 12), (9348,
Write a loop to iterate through each index of this 2D array. int inventory [5] [2] = {{9345, 45}, {9346, 78), (9347, 12), (9348, 104}, {9349, 88}};
Step by Step Solution
3.50 Rating (163 Votes )
There are 3 Steps involved in it
To iterate through each index of the 2D array inventory you can use nested ... View full answer
Get step-by-step solutions from verified subject matter experts
