get x
           if x = >50
                  print x - 1
           if x = <50
                  print x + 1
           if x = 50
                  print 49
           if x = 99
                  print 100
           if x = 1
                  print 0
           if x = 100
                   print 50
           if x = 0
                   print 50
	unless the language works different then I suspect it will the if x = 99 and later will never be executed.84/83
This code would be pretty good for this game right?Code:get x if x = >50 print x - 1 if x = <50 print x + 1 if x = 50 print 49 if x = 99 print 100 if x = 1 print 0 if x = 100 print 50 if x = 0 print 50
unless the language works different then I suspect it will the if x = 99 and later will never be executed.
This comes because the x = >50 and x = < 50 will also be true in those cases and will be found earlier.
If you want them to be executed they need to be checked first and have the x = > 50 and x = < 50 the lasts checks.
edit:83