0
What is the problem in this code? Please check
2 Réponses
+ 5
M. Abdullah Al Mahi
You forgot to check for 2 and 10.You need to convert both of them into words.
Since the instructions clearly said -
" you decide that for numbers 10 and under you would rather write the word out instead. "
+ 5
I made this simpler and cleaner code for you that works:
https://code.sololearn.com/cy8R8Z3cegO8/?ref=app