I am trying to divide the larger number in this problem by the smaller number and print the answer in a quotient form. I have done the code to where it will print the correct answer, but I am wondering how to divide the larger by smaller number. Do I use an if statement?
case 1:
int number1;
int number2;
System.out.println("Please enter your first number");
number1 = s.nextInt();
System.out.println("Please enter your second number");
number2 = s.nextInt();
int quotient = number1 / number2;
int remainder = number1 % number2;
if(number1 > number2  number2 > number1) {
System.out.println("Quotient = " + quotient + "r" + remainder);
}
break;
