A few things. A decent start, but remember to include the header <cmath>. Another thing, are you wanting to determine the lenght of the number that the user inputs?
zandiago 115 Nearly a Posting Maven Featured Poster
zandiago 115 Nearly a Posting Maven Featured Poster