cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Help...What does this mean?
Help...What does this mean?
Sep 28, 2014 at 11:27pm UTC
David623
(26)
What does this mean?
1
2
3
4
int
myNum = 10;
int
yourNum = 30;
if
(yourNum % myNum == 3)
Sep 28, 2014 at 11:51pm UTC
Zhuge
(4664)
I think the crux of the problem is the % operator:
http://www.cplusplus.com/doc/tutorial/operators/#arithmetic
Sep 28, 2014 at 11:56pm UTC
David623
(26)
Thank you. That is correct. I have forgot about that.
Topic archived. No new replies allowed.