reaction game

Hello,

I have a little problem!!
every time my code has done a few steps i want my x value to go + 10 so i use x = x + 10; but i want that if x = 100 it stops there and doesn't go to x = 110.
how can i do that??

Thanx,

Fret&Gijs

Use an if statement

if(x>100)x=100;