+ 2
Can anyone find the problem with my no numerals code
9 Réponses
+ 1
Atulya Vaibhav Pandey you code is converting "10" to "onezero" not "ten"
+ 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
+ 2
We cannot see your code in Code Coach.
Try to write using switch statement. That makes the code claerly
+ 2
Think about a new other solution because of the „onezero“. Have fun !
+ 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.
+ 1
Arsenic you are right
+ 1
Ja Play i will try
+ 1
C++ program of No numerals
https://www.sololearn.com/coach/64?ref=app
0
Okay Ja Play , Arsenic