what is the meaning of % in java? when we type (a%b)==0 what is the meaning of It?
Answers
Answered by
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
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
Similar questions
Math,
9 months ago
English,
9 months ago
Political Science,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago