+ 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

11th May 2020, 11:32 PM
Yahya LAZREK
Yahya LAZREK - avatar
3 Respostas
+ 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.
12th May 2020, 8:38 PM
ChaoticDawg
ChaoticDawg - avatar
+ 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.
11th May 2020, 11:54 PM
ChaoticDawg
ChaoticDawg - avatar
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 ?
12th May 2020, 1:28 PM
Yahya LAZREK
Yahya LAZREK - avatar