if ((num1 < num2) && (num1 < num3));


That ; after the if statement seems kind of silly.