### How do you find the nearest palindrome of any number?

int nearPalin(int n){ int temp = n; int count = 0; while(temp>0){ temp /= 10; count++; } if(count%2 == 0){ count = count/2; while(count--) n = n / 10; temp = n; while(n>0){ temp = temp*10 + n%10; n = n/10; } return temp; } else{ count = count/2; while(count--) n = n / 10; temp = n; n = n/10; while(n>0){ temp = temp*10 + n%10; n = n/10; } return temp; } }

### How do you teach 6 year old 8 plus 10?

First the child must know one to one correspondence. That means when they count do they only count one thing. Put 8 objects(beans) out in from of the child and have them count them. Put 10 items out and have them count them. Then put them together and count them. After all of that, if the child is right on top of that THEN you can try to bridge the gap that numbers can be…