Then your doing something wrong with the code.
Seriously, study that code. You'll start to understand it if you understand the basics of variables and ints.
Seriously, study that code. You'll start to understand it if you understand the basics of variables and ints.