I'm trying to find the int with the lowest value, and I only know how to set it up like this:
Let's say x1 is the lowest.
int x1, x2, x3, x4; if (x1 < x2 && x1 < x3 && x1 < x4) System.put.println("x1 is the lowest value out of those 4");
Is there a way to shorten this at all? (It's alright if there isn't, just looking for shortcuts)