The method addItUp(m, n) is intended to print the sum of the integers greater than or equal to m and less than or equal to n. For example, addItUp(2, 5) should return the value of 2 + 3 + 4 + 5.
/ missing precondition /
public static int addItUp(int m, int n)
{
int sum = 0;
for (int j = m; j <= n; j++)
{
sum += j;
}
return sum;
}
Which of the following is the most appropriate precondition for the method?