0
How is this if statement wrong?
#include <iostream> using namespace std; int main() { int HP; cin >> HP; cout << "Enter your current HP:" << endl; if (HP >= 75) { if (HP <= 100) { cout << "Your HP is very high!"; } } } return 0;
3 Answers
+ 4
I think the question should be: "Why is return 0 outside main?"
+ 1
ahh yea just noticed lmao
0
thank u