+ 1

Should someone help me with that code? Always returning 'NaN'.....

https://code.sololearn.com/cfKmG8AyQL4L/?ref=app

4th Nov 2017, 5:33 PM
xSallus
xSallus - avatar
4 Respostas
+ 2
oh, now i see... thanks a lot...
4th Nov 2017, 5:42 PM
xSallus
xSallus - avatar
+ 2
If i want user input, is the way?
4th Nov 2017, 5:45 PM
xSallus
xSallus - avatar
+ 1
You're instantiating the class before you give values to any of its fields.
4th Nov 2017, 5:39 PM
Niall Matthews
Niall Matthews - avatar