So im in my first java coding and I need some help. Im making a fairly simple program using a busy box format where multiple dialog boxes pop after another asking for input and giving a output response. Well I have to use a switch statement and I cant use any of the known coding shortcuts because he wants use to practice using if statements. Well I have to ask the user to input three number for one of the options then I have to have the program order there numbers in numerical order using If elseif statements but cant figure out how to do it (I think im just having a massive brain fart) but here is that chunk of code. num1 = JOptionPane.showInputDialog("Enter first number: "); number1 = Integer.parseInt(num1); num2 = JOptionPane.showInputDialog("Enter second number:"); number2 = Integer.parseInt(num2); num3 = JOptionPane.showInputDialog("Enter third number: "); number3 = Integer.parseInt(num3); now this is where I would need to start the if statements to order the numbers but im to stupid to figure it out :shrug: