I was writing a program and forgot to write Math.round() and when I was reviewing the code I saw this
int number = 1/2; why doesn't this raise an error of required type: int | provided:double?
Note: If this is a silly question please forgive I new to programming.