0
I thought I solved it correctly. Is there a problem with my code??
#include <iostream> using namespace std; int main() { int criminals; cin>>criminals; if(criminals > 10){ cout<<"Good luck out there!"; } else if(criminals >= 5){ cout<<"Help me Batman"; } else{ cout<<"I got this!"; } return 0; } https://www.sololearn.com/coach/41?ref=app
3 Answers
+ 2
Good Luck out there!
+ 3
Check the phrases again, you misspelled one of them, that's all. The logic itself is fine.
0
Why you are asking ?
Didn't your code work?