You are on page 1of 1

int a = 0;

int b = 10;
if( a <= 10){
a = a + 1;
}else if(a > 10){
a = a - 1;
}

You might also like