1234567
string s = "1234567890"; int x = 0, k = 0; for(int i = s.length(); i > 0; i--){ x = x + pow(16, k); k++; cout << x << endl; }
int