0

someone knows why when it execute a variable, the loop else also execute?

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

5th May 2020, 5:29 PM
Emanuel MartĂ­nez Mendoza
Emanuel MartĂ­nez Mendoza - avatar
3 Answers
+ 5
See the code i have corrected for you https://code.sololearn.com/cWHNIcyc4vwJ/?ref=app
5th May 2020, 6:29 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 4
Hii buddy, there is problem that you are using if condition only Use else if , let see If { } Else if { } ...... ...... ...... Else
5th May 2020, 6:27 PM
Raj Kalash Tiwari
Raj Kalash Tiwari - avatar
+ 1
Thanks bro, i forgot how nest
5th May 2020, 7:25 PM
Emanuel MartĂ­nez Mendoza
Emanuel MartĂ­nez Mendoza - avatar