pushbutton counter stops at 11

Pls Help!

previously my pushbutton counter counts up to 99, however, when I reload the program the counter stops at 11 and it never continue. When I checked the code, nothing has change actually. I just wander why this happened? thanks

Let's see the program and the circuit.

that part of my code:

incButton=digitalRead(incPin);
decButton=digitalRead(decPin);

if ( incButton!=incLastButtonState)

{
if (incButton==HIGH)
{
if (Score!=99)
{Score++;

Here is part of my answer

The problem is somewhere in your code or wiring.

Please post the whole program or a smaller but complete program that exhibits the problem.

Full code please. And post it between code tags

[code]your code here [/code]

will result in

your code here
incButton=digitalRead(incPin);
  decButton=digitalRead(decPin);   

  if ( incButton!=incLastButtonState)

     {
       if (incButton==HIGH)
           {
             if (Score!=99) 
             {Score++;

I reloaded working program before. BUt, is it possible that there's something wrong with my wiring?

And in the next line you have something that states if (score > 11) score = 11';

Complete program please (again) or a small program that exhibits the problem. If it can count to 11 without problems, I can't see that this is a wiring problem.

thanks a lot guys..... now I got the answer. it was from my score=10. It should be score-10.

More power to arduino family and admin.

got the answer. it was from my score=10. It should be score-10.

A perfect example of why you should post a complete program.