Computer Science, asked by astroed, 1 year ago

what is the meaning of % in java? when we type (a%b)==0 what is the meaning of It?

Answers

Answered by AmudhavelVchamp
1
% means modulo operator... modulo operator is only for remainder
if a=8
b= 4
when we divide a by b is a%b=0 ....
if (a%b)==0 given number is even number
Attachments:

astroed: thanks
AmudhavelVchamp: welcome
Similar questions