Calculating values & passing from two-dimensional array. What am I doing wrong

Printable View