Read the question again. The word "weight" appears nowhere. The is a math problem and requires you to understand that arrays are contiguous and also how a 2-D array uses the [x][y] pair, starting address, and array size too convert it to an address. presumably there's a formula in your notes. Plug the known values into the formula and solve for the unknown value using algebra.
VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711
"Weight", "Width", whatever. In the problem statement it's called "width", in the formula it's called "Weight". I can only go by what you provided and the question statement refers to it as "width". Take the formula and start plugging in the values given in place of the letters. Eventually you'll end up with nothing but W and that's your answer.
VernonDozier
Posting Expert
5,527 posts since Jan 2008
Reputation Points: 2,633
Solved Threads: 711