Please write your name and lab section letter at the top of the page.
Consider the following recursive program
public int mpy(int a, int b) { // a and b must be nonnegative
/* reserved for future use */ /* line 1 */
if (b == 0) /* line 2 */
return 0; /* line 3 */
else return a + mpy(a, b-1);
}
if (b == 1)
how would you change line 3 so that the method is correct?