I was trying to solve a simple mathematical problem with java but stumbles with this problem:
public static void main(String[] arg)
{
double result = 33/2;
System.out.println(result);
}
Output was 16.0
but after checking it with a calculator the result should be 16.5
I am really confuse and want to know what is happening