Number nr3 is not evenly divisible by the number nr2.
i dont know how to type it in a boolean so can any one tell me how you can write it?
Printable View
Number nr3 is not evenly divisible by the number nr2.
i dont know how to type it in a boolean so can any one tell me how you can write it?
Use modulo % as in: num1%num2==0
Booleans are pretty easy to use;
Look:
Int i = 478;
Boolean b = i == 56;
So boolean b will be false since 478 is not equal to 56 :)