I am trying to use Modulus but I cannot get my progam to compile. I seen somewhere on the internet that I should use the format 10 % n, and on the other hand I was shown to use 10 modul n or something like that and it dont work give a compile error Here the statement.
if((10 % n) = 0)
it does not recognize the % symbol. I have not imported anymore libraries. I tried to use import <java.lang.math.*> but it said that it did not exist.