Why my code got error | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
12th Aug 2020, 4:32 AM
kumar_bittu
kumar_bittu - avatar
2 Respuestas
+ 3
the code from if(isAnagram) is outside the main function.(probably by mistake) type it inside the main function. there are many more errors,
12th Aug 2020, 5:19 AM
Prabhakar Dev
Prabhakar Dev - avatar
+ 3
https://code.sololearn.com/c8BVL9pcsa3a/?ref=app here is the fixed version. i have commented the explainations
12th Aug 2020, 5:25 AM
Prabhakar Dev
Prabhakar Dev - avatar