My code looks like this so far:
public class ThreeSort { public static void main(String[] args) { int num1 = Integer.parseInt(args[0]); int
Assuming this is some kind of puzzle/homework are you allowed to use the ternary operator?
int[] ints = {3, 1, 2}; int min = ints[0] <= ints[1] && ints[0] <= ints[2] ? ints[0] : ints[1] <= ints[0] && ints[1] <= ints[2] ? ints[1] : ints[2];