Search:

Type: Posts; User: anduril462

Search: Search took 0.04 seconds.

  1. Replies
    12
    Views
    5,312

    I was going for a simpler approach of hard-coding...

    I was going for a simpler approach of hard-coding a starting divisor (say, 1,000,000,000), since this is such a beginner class. However, c99tutorials method is just as easy (easier?) and more...
  2. Replies
    12
    Views
    5,312

    No, don't use mod 0 or mod 3. Think about your...

    No, don't use mod 0 or mod 3. Think about your approach and try it out before you start coding. No point in writing code if you aren't pretty sure it will work. Did you try it out at all, in a...
  3. Replies
    12
    Views
    5,312

    Have you learned recursion yet, as part of your...

    Have you learned recursion yet, as part of your functions lesson? If so, there is a slick way to do it with recursion. If not, you can do it with loops.

    This is a great problem solving...
Results 1 to 3 of 3