Help with counting from 0 to 99 with two separated displays

Robin2:
This isn't a very elegant solution but it should be simple if you need to keep the two digit values separate

int contador = 0;

int contador2 = 0;

////

if (contador > 9)
      {
        contador = 0;
        contador2 ++;
        if (contador2 > 9) {
            contador = 0;
            contador2 = 0;
        }
      }




...R

Thank for ur help, but could u help me with the decreasing event? I really dont get it so much :confused: