0

Fix bug

It always says BOO even when it is not suppose to do that. https://sololearn.com/compiler-playground/c4q55gC3t7nJ/?ref=app

27th Mar 2024, 5:48 PM
SPLunking
SPLunking - avatar
2 Answers
+ 3
What are you entering as the input? You can't enter a string "true" or "yes" because you need a boolean value. Do you know how to input that? I entered it and I received the "Yay..." output. So the code does work.
27th Mar 2024, 6:39 PM
Ausgrindtube
Ausgrindtube - avatar
0
it working perfectly, whats the problem here , boolean takes 1 or 0 as input not string "ture" and "false"
28th Mar 2024, 3:37 PM
Alhaaz
Alhaaz - avatar