0
What is wrong with this code please
4 Answers
+ 2
You were misplacing the ifs, this should go together with an else, as in the code that I attach.
https://code.sololearn.com/cPen2y4uBs9H/?ref=app
+ 1
https://code.sololearn.com/c5sqts6Zy01p/?ref=app
You're confusing between else if and else
Else can only be used once and all other gets ignored so in this case you'd have to use else if.
+ 1
Thank alot
0
Abbakar_ah!!! Brother please go and visit , if else statement implementation then modify your code.