468,167 Members | 1,965 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,167 developers. It's quick & easy.

What are all the possible values that can be returned based on the following statemen

2 Nibble
What are all the possible values that can be returned based on the following statements using the modulus operator ?
a) intValue % 2
b) intValue % 3
c) intValue % 100
Jan 30 '21 #1
2 1968
dev7060
413 Expert 256MB
Use basic maths for the possible remainder values.
Jan 30 '21 #2
Banfa
9,033 Expert Mod 8TB
% is the modulus operator, I.e. performs the modulo operation.

You can read about it here.
Feb 3 '21 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

5 posts views Thread by Homer Simpson | last post: by
7 posts views Thread by Jason Kid | last post: by
reply views Thread by gcreed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.