+ 1
Why does this code print the block in the else statement when it's right
6 Answers
+ 2
May you are testing with wrong input..
It's working fine..
+ 1
5 1 8 2 4 9
only the above line, Copy and paste as input, run, and see output...
0
No but, how can I run the if statement when the input is right
0
Oh oke sorry
0
It works fine maybe u re testing without space
0
Olufikayomi Jetawo i did it with spaces and my problem is fixed