hi

Code:
#include <iostream>
using namespace std;
int main()
{   
    int a,b;
    for(a=10;a<21;a++){
                      b=0;
                      while(a>0){
                                 b=b*10+a;
                                 a=a/10;
                                 }     
                       cout<<b<<endl;
                       }    
     system("pause");
}

I have this program.When I run is shows only 111111111111...
why?
normally must output 1,21,31,41,51,61,71,81,91,2 no?

thx