float Mean = 0; float sum = 0; int j; int i = 0; cout << "Hello. Lets take the Mean,Median, and Range of a row. Which row would you like to use?\n\n"; cin >> j; cout << "\n\n"; for (int j = 0; j < m; j++) { sum += array[j][i]; } Mean = sum / n; cout << "The Mean is " << Mean << ".\n\n"; sum = 0;

This post has been edited by **snesnerd**: 01 August 2012 - 09:35 PM