How would I check for multiples? I’m using the mobile app, but I can’t connect the variable to the equations, or change the comparison to anything useful. I don’t know what most of the math symbols mean, but would there be a way for the variable (x) to filter out what is a variable of 10 without including it in the equation?

Hello, I don’t understand you question in detail. If you divide a number by 10 and the rest is 0, then this number is a multiple of 10.

Use instruction mod, like this

If (MyValue mod 10 ) = 0 then

Writeln ('is a multiple of 10)

else

Writeln ('is not a multiple of 10);

/BlueIcaro

1 Like