(int a)
| 19 | |
| 20 | /* Return absolute value */ |
| 21 | public static int abs(int a) { |
| 22 | if (a < 0) { |
| 23 | return negate(a); |
| 24 | } |
| 25 | else return a; |
| 26 | } |
| 27 | |
| 28 | /* Multiply a by b by adding a to itself b times */ |
| 29 | public static int multiply(int a, int b) { |
no test coverage detected