0

int numberArray [9][11];
write a statement that assigns 145 to the first colum of the first row of this array.
write a statement that assigns 18 to the last col of the last row of this array

this is what i have

numberArrray [1][1] = 148;
numberArray [9][11] = 18;
3
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by skatamatic
0

remember that an array's max index is always 1 less than its size, since 0 is included. So for part 1,

numberArray[0][0] = 148;

and #2

numberArray [8][10] = 18;

0

Above answer is exactly correct ............


please follow that one...........

Lol...thanks for the insightful contribution.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.