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.
Type: Posts; User: tuxdeep
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.
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.
...