identification of negative and positive number and make it negative code example
Example: identification of negative and positive number and make it negative
public class Kata {
public static int makeNegative(final int x) {
return -Math.abs(x);
}
}