title: algorithm to convert a number in an unknown base to the equivalent base 10 number
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3545931/efficient-algorithm-for-conversion-between-numeral-system">Efficient algorithm for conversion between numeral system</a>  </p>
  </blockquote>
  
  
  
  <p>Given an integer, write a program that converts the given number to a number (in base 10).   Hint - The given number could be in any base, but the base is unknown.</p>