filmov
tv
How modulos operator works in Java

Показать описание
Modulos operator work using following equation
x%y = x- (x/y)*y
Output of modulos operator takes sign of first operand
x%y = x- (x/y)*y
Output of modulos operator takes sign of first operand