When I do the calculations in the second for loop it does not calculate properly. I will only calculate the last number in the array and not the other two. The if block calculation are correct. What I need to do then is to take each [row][col] value and divide that by temp3 and display it in the array. Please advice. Thank you in advance. AviWhen I do the calculations in the second for lo