int is for integers 90 is an integer literal
operations between integers result in an integer, so 90/100 is 0 and you have a 90 remainder
you may want to operate with floating point values, for that use double. 90.0 is a double literal
operations with a floating point value result in a floating point value, so 90.0 / 100.0 is quite near to 0.1