0

Why does my code not have an output of the correct answer?

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

16th Jul 2020, 12:42 PM
MatanzaBC
MatanzaBC - avatar
9 Respostas
16th Jul 2020, 4:34 PM
BroFar
BroFar - avatar
+ 2
Everything.RB your welcome... remember gets is like entering a string followed by chomp then you have to use the to_i to convert to an integer
16th Jul 2020, 5:23 PM
BroFar
BroFar - avatar
+ 1
Thanks
16th Jul 2020, 5:19 PM
MatanzaBC
MatanzaBC - avatar
+ 1
Thanks alot
16th Jul 2020, 5:26 PM
MatanzaBC
MatanzaBC - avatar
0
PLS HELP
16th Jul 2020, 12:43 PM
MatanzaBC
MatanzaBC - avatar
0
It's still not working
16th Jul 2020, 12:52 PM
MatanzaBC
MatanzaBC - avatar
0
Ok
16th Jul 2020, 1:26 PM
MatanzaBC
MatanzaBC - avatar