Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite0
if statement
In my nested if else statement, 'else' statement is getting executed along with 'if', below is the link to my code, any idea why it is happening? https://code.sololearn.com/cPqTWTVyhY7I/#java
4 Réponses
+ 2
if else statement need else..
so it should be
if(...
else if(...
else if(...
instead of
if(...
if(...
if(...
0
if elif else
if elsid elsee
ri else emewm
ems eis skdnd
ej ekie ekdm
0
Thanks bro, that solved it Rei
0
Thanks bro Liang Aidan