+ 9

Gotham City PLZZZ

Why am I not passing the test??? Here is my code⬇️ #include <iostream> using namespace std; int main() { int criminal; cin>>criminal ; if(criminal <5){ cout <<"I got this!"; } else{ if(criminal <=10){ cout <<"Help me batman"; } else{ cout <<"Good luck out there!"; } } return 0; }

8th Jun 2021, 4:40 PM
Sneha_Gupta✨
Sneha_Gupta✨ - avatar
4 ответов
+ 4
Help me Batman Good Luck out there!
8th Jun 2021, 5:03 PM
The future is now thanks to science
The future is now thanks to science - avatar
+ 9
Thanks for the answer!!!
9th Jun 2021, 2:33 AM
Sneha_Gupta✨
Sneha_Gupta✨ - avatar
8th Jun 2021, 6:34 PM
Atul [Inactive]
0
You need write ranks for example if (criminal>0 && criminal<5)
13th Jun 2021, 5:11 AM
Alan Cota
Alan Cota - avatar