You are viewing a single comment's thread. Return to all comments →
checking the value of n is less than b
suppose the value of n you given is 10
if statement will find the remainder by using the modulus %
that is n%2
10%2 just divide the reminder will always be zero which means if its divisible by 2 it is even number..