Search:

Type: Posts; User: Dr.Tautology

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    1,041

    Problem solving with C++ 7th ed. Walter Savitch.

    Problem solving with C++ 7th ed. Walter Savitch.
  2. Replies
    8
    Views
    1,041

    Got it. That makes sense. Don't know why my book...

    Got it. That makes sense. Don't know why my book hasn't mentioned the difference between / and %.
  3. Replies
    8
    Views
    1,041

    I don't think we are understanding each other....

    I don't think we are understanding each other. The resut of 2%2, that is 2 divided by 2, is 1. This is obvious. What is not obvious is that it returns the remainder not the result. Maybe I am...
  4. Replies
    8
    Views
    1,041

    So it is basing the evaluation on whatever the...

    So it is basing the evaluation on whatever the remainder of the division is? 2%2=1 anywhere on planet earth.
  5. Replies
    8
    Views
    1,041

    Simple but Nagging Question HELP!

    I am completely new to programming and I have a elementary question about how to test for an even number. I understand that ((n%2)==0) tests this--because the number needs to be divisible by 2--but...
Results 1 to 5 of 5