I'm writing a little program.. and I need to figure this out.
say that the user is inputing 4, then i want 3
if the user input's 6 i want 4
8->5
10->6
and so on.
Name:
sootn2010-01-20 12:07
I know, I'm stupid as hell.
I thought a bit too far.
Name:
Anonymous2010-01-20 12:59
if they are ints then -> (input / 2) + 1
Name:
sootn2010-01-20 13:02
I know, I got it in exactly the same moment that I posted :(
but thanks for trying to help
Alternatively you could create a sequence, the first figure in the sequence being 4, then second being 6 etc... And simply deduct the figure's sequence position from the figure.