+ 8
Symbols code coach
What is wrong with this code It says that test case 4 failed why ?? https://code.sololearn.com/cbX9OslrVDmO/?ref=app
5 Réponses
0
Use fgets(str1,100,stdin); instead of gets() ;
Or add this at end to not print extra charecter...
str2[j]='\0';
Or pls post your updated code...
If any case fail still...
+ 3
Even when I am not including these little symbols also say that test case four failed
+ 2
thanks a lot 🌺❤️
the problem was with the str2
i didn’t end it as u siad
so thanks 👏👏🌺
+ 1
You including the symbols also.. Why?
It should only contian alphabets, numbers, and space.
0
You're welcome..