Skip to content

Instantly share code, notes, and snippets.

Created December 26, 2012 05:10
Show Gist options
  • Save anonymous/4378060 to your computer and use it in GitHub Desktop.
Save anonymous/4378060 to your computer and use it in GitHub Desktop.
for (i = number.length()-2; i > 0; --i){
cout << number.length(i);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment