Could also be done recursive, I guess?
boolean isEven(int n) {
if (n == 0) {
return true;
} else {
return !isEven(Math.abs(n - 1));
}
}
Could also be done recursive, I guess?
boolean isEven(int n) {
if (n == 0) {
return true;
} else {
return !isEven(Math.abs(n - 1));
}
}
It’s advice for how most people end up in vim in the first place.
git commit(without -m)