+ 1
No Numerals Test 3 failed C# CodeCoach
Hi guys ,my code pass all tests except the third My code check 10 and put it "ten", Also numbers above 10 doesnt change them But i still get error in test 3. Any help i will be apperciate it Solved : https://code.sololearn.com/cdaE79ybbTEl/?ref=app
3 ответов
+ 2
It fails if there is an odd number of digits 3 or greater.
Input 123
Outputs 12three
Input 1234
Outputs 1234
Input 12345
Outputs 1234five
Etc.
+ 2
If the 1st number your code comes across is greater than 10 then it just outputs the original input instead of checking the rest of the input string.
0
I change the code to check every single number but the test 3 get failed again , ex:
Input : 22 1 2
Output : 22 one two
Is there anyother condition ?