|
What do you mean by doing this with modulus. It doesn't make sense to me, though this could be just my problem. If you don't get better answers soon, you may want to explain this more though.
Also, why the restriction on using for loops when they were made for this sort of thing? Is it a restriction of the assignment?
Also, if this is an assignment, are you allowed to use recursion?
Also, if this is an assignment, are you allowed to use other types of loops (while loops in particular)?
Last edited by Fubarable; 09-30-2008 at 09:18 PM.
|