I couldn't fix my code | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
+ 1

I couldn't fix my code

https://sololearn.com/compiler-playground/cX6a2pLfV2Nm/?ref=app I looked at multiple example like this but I still couldn't find why mine didnt work. Can someone explain

4th Mar 2024, 7:27 PM
Lalala
Lalala - avatar
2 Respuestas
+ 5
You didn't define return type for the defined merhod.
4th Mar 2024, 7:51 PM
AÕĘJ
AÕĘJ - avatar
0
AÕĘJ , so apparently when I was doing that code i haven't studied about return and didn't understand why didn't it work. Later on this morning i looked at return lesson and know I understand, thanks m8 preciate it
5th Mar 2024, 8:22 AM
Lalala
Lalala - avatar