Question: Label the elements of three-by-five two-dimensional array sales to indicate the order in which theyre set to zero by the following program segment: for (int
Label the elements of three-by-five two-dimensional array sales to indicate the order in which they’re set to zero by the following program segment:
for (int row = 0; row < sales.length; row++) {
for (int col = 0; col < sales[row].length; col++) { sales[row][col] = 0;
}
}
Step by Step Solution
3.47 Rating (170 Votes )
There are 3 Steps involved in it
sales00 sales01 sales02 ... View full answer
Get step-by-step solutions from verified subject matter experts
