Java newbie here. I was struggling with this for a while and can't get why this happens. When I compare two integers with "==" it always returns true, even if they are not same. Here's an example:
if (50/41 == 3/3){
System.out.println("SAME");
}else{
System.out.println("NOT SAME");
}
I appreciate any help and explanation.