0
I have tried solving this problem but didn't get one tests right.. Can anyone help me
https://www.sololearn.com/coach/64?ref=app https://code.sololearn.com/c313ICV3J6Ye/?ref=app
4 ответов
+ 2
Manoj , you don't check for 10 in your code. I think that's the test case you are failing.If I enter 10 your code outputs "one zero", instead of "ten".
+ 1
Manoj, you have missed the case of 10 as an input but you cannot give a case of 10 in your code since you have used character data type in switch case, so it will be better if you replace character data type by String in the whole programme.
0
Manoj , please attach your code. Otherwise how can someone know what is missing in your logic.
0
Okay thank you for suggestions..