else if(choice == 2) {
System.out.println("Result: "+(firstnum/secondnum));
}
I am using that as a code for my menu, however when a second number is higher than the first number it inputs = 0, how do I fix it? For example first number: 2, second number:10 and results is 0 why?