Search:

Type: Posts; User: tuxdeep

Search: Search took 0.01 seconds.

  1. Adding if (0 == lowrange % thirdInteger) { ...

    Adding

    if (0 == lowrange % thirdInteger)
    {
    numberRep++;
    }



    to my code fixed it, but it is only capable of calculating how many numbers are divisible with one third integer value.
  2. Determine how many numbers in a range are divisible by a third - loop help

    Hello, the following may come off as a homework question but in reality I just need some help with loops. I've pretty much finished the entire program, except for the actual calculation part.
    ...
Results 1 to 2 of 2