I am new to programming and I just want to know if the code written below is good, average or bad as a professional programmer.
Thanks in advance.
using namespace std;
int a,rem, rev = 0;
cout<<"Please enter a number: ";
cout<<"Please enter another number higher than 10: ";
} while (a<10);
rem = a % 10;
rev = rev*10 + rem;
a = a/10;
cout<<endl<<endl<<"Reverse is "<<rev<<endl<<endl;