how to print nth palindrome number in c++
if(n <=1000 && i==0){
// cout << " here "<<endl;
count =0;
i=0;
// break;
}else if( n >1000 && n <=2000 && i==0){
//cout << "there " <<endl;
count =1000;
i=90109;
// break;
}else if( n >2000 && n <=2500 && i==0){
//cout << "there " <<endl;
count =2000;
i=1001001;
// break;
}else if( n >2500 && n <=3000 && i==0){
//cout << "there " <<endl;
count =2500;
i=1501051;
// break;