+ 2

Can anyone find the problem with my no numerals code

https://code.sololearn.com/crW6WLYkNAij/?ref=app

27th Mar 2020, 3:28 PM
Atulya Vaibhav Pandey
Atulya Vaibhav Pandey - avatar
9 ответов
+ 1
Atulya Vaibhav Pandey you code is converting "10" to "onezero" not "ten"
28th Mar 2020, 7:53 AM
Arsenic
Arsenic - avatar
+ 3
Atulya Vaibhav Pandey , you have attached the code coach problem with your question , your answer will not be acessable to us so just like Lothar directed, use code playground and attach your code here
27th Mar 2020, 3:35 PM
Arsenic
Arsenic - avatar
+ 2
We cannot see your code in Code Coach. Try to write using switch statement. That makes the code claerly
27th Mar 2020, 6:52 PM
JaScript
JaScript - avatar
+ 2
Think about a new other solution because of the „onezero“. Have fun !
28th Mar 2020, 9:45 AM
JaScript
JaScript - avatar
+ 2
You found the solution. Congratulations! I think it's important to understand what the problem was. In the loop you examine every single character from the input string. That led to the error. If you now imagine this task with very long texts and also with large numbers, the solution would not be transferable anymore. Therefore I recommend to reconsider this solution for a successful learning process.
28th Mar 2020, 1:37 PM
JaScript
JaScript - avatar
+ 1
Arsenic you are right
28th Mar 2020, 11:05 AM
Atulya Vaibhav Pandey
Atulya Vaibhav Pandey - avatar
+ 1
Ja Play i will try
29th Mar 2020, 4:59 AM
Atulya Vaibhav Pandey
Atulya Vaibhav Pandey - avatar
+ 1
14th Aug 2020, 9:21 AM
namrata singh
namrata singh - avatar
0
Okay Ja Play , Arsenic
28th Mar 2020, 4:45 AM
Atulya Vaibhav Pandey
Atulya Vaibhav Pandey - avatar