Why is my code a failure | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
15th Jul 2017, 4:32 PM
Whitehat
Whitehat - avatar
5 Respuestas
+ 6
You doen't declare and assign the variable 'RewardMoney' you use in your first statement ^^
15th Jul 2017, 5:00 PM
visph
visph - avatar
+ 2
RewardMoney doesn't exist. You didn't create and set a variable for it.
15th Jul 2017, 4:57 PM
ChaoticDawg
ChaoticDawg - avatar
0
You are using a variable named RewardMoney without declaring it. Tose kind of errors occur a lot and it's really important to detect them as quick as possible in order to prevent you code from errors. There are programs who helps doing that, such as checkmarx and others but it's still recommended to know to do it on your own. Good luck!
15th Jul 2017, 8:50 PM
Ben hart
0
thank you all i fixed the mistake. good looking out.
16th Jul 2017, 3:40 AM
Whitehat
Whitehat - avatar
0
the code is now called scorpio and it is in my codes section
16th Jul 2017, 3:41 AM
Whitehat
Whitehat - avatar