Computer Science, asked by anitakelang, 5 months ago

write the output of the following
n= 5
WHILE ( N < 15)
IF n MOD 5 = 0 THEN
PRINT n ; " is divisible by 5 "
ELSE
PRINT n ; " is not divisible by 5 "
END IF
n = n +1
WEND ​

Answers

Answered by noorrrrrr
0

Answer:

The modulus operator works on integers (and integer expressions) and yields the remainder when the first ... n % 2 == 0 or n % 3 == 0 is true if either of the conditions is true, that is, if the number is divisible by 2 or 3.

Similar questions