230,995 views
3 votes
3 votes
3. Output the following:
a.
21%4​

User Sushil Sharma
by
3.3k points

1 Answer

3 votes
3 votes

Answer:

21 % 4 is 24 modulus 4. The remainder you get when you divide 21 by 4. 21 divided by 4 is 5, remainder 1.

So, 21 % 4 = 1.

User Blackey
by
3.4k points