reset password
Author Message
ZombieD
Posts: 14
Posted 20:28 Feb 04, 2013 |

I'm having trouble figuring out how to find the difference between the user input "n" and 5. What would be a simple way to express or calculate that?

kknaur
Posts: 540
Posted 21:12 Feb 04, 2013 |

n is the value that the user enters.  It is simply used as an upper bound for the numbers you want to check.  So if the user enters 100 for example you want to check for all numbers from 5 - 100 that are divisble by 5 or 6 but not by both.