jus71n742
May 17th, 2008, 05:40 AM
I am not sure what kind of loop I want to use for this but I am thinking a for or if statement.
what I am trying to do is for example I have an input of say 44 and for each 10 I give someone a point so an input of 44 is 4pts.
I would also like to figure out the flip side of that
say input is 4 is minus 1 so the input would result in -4 pts.
I have been reading but can't get a clear understanding of how to go about it
any assistance is greatly appreciated
what I am trying to do is for example I have an input of say 44 and for each 10 I give someone a point so an input of 44 is 4pts.
I would also like to figure out the flip side of that
say input is 4 is minus 1 so the input would result in -4 pts.
I have been reading but can't get a clear understanding of how to go about it
any assistance is greatly appreciated