integer questions

Feb 13, 2017 at 8:47pm
a is an integer and if (a%2) cout << "abc"; does that mean that the program will only print out abc if a is an odd number?
Feb 13, 2017 at 8:54pm
yes..
Topic archived. No new replies allowed.