Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis0
Code coach No Numerals
hi All, Code coach No Numerals test cases are passing except test case 5, can you tell me why ? Here is the code https://code.sololearn.com/c0S02JRWehms/?ref=app
6 Respostas
+ 4
Jakub Biesek did you read all the instructions closely ? I know you overlooked one and if you reread it you will understand your mistake... Don't need to change the numbers part... or the code itself but think about the input... ( hint )
+ 4
String read = Console.ReadLine().Replace("10","ten").Trim();
+ 2
Hi all,
As mentioned input 10 was producing an output of 'onezero'
String read = Console.ReadLine().Replace("10","ten").Trim(); helped and now all test cases passed successfully
Thanks all !
+ 1
Try to run your code with input '10'.
+ 1
It looks quite complicated. Look at here:
https://code.sololearn.com/csRCm5eYElqs
0
BroFar Hi, is it the input to lower case you are talking about ?
After applying ToLower() to input, cases 3,4 and 5 are failing