and the second being:2,7,12,17...
my thoughts are:3,8,13,18...
This works fine but I have to look at this expression for every iteration of a while loop so I need some way of retaining the value for each comparison, and it doesn't capture the first 2 or 3 values[(8%3) += 5] [(8%3) += 6]
In reply to What should be an easy math question using % by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |