0

Help plz

What's wrong with this code? #include <iostream> using namespace std; int main() { int age; cin >> age; if(age >= 0 && age <= 3) { cout << "Free "; } else if(age >= 4 && age <= 6) { cout << "Discouted "; } else { cout << "Normal "; } }

24th Jan 2023, 6:34 AM
NemoGnite
NemoGnite - avatar
2 Answers
+ 3
you have an error you put "discouted" and it is "Discounted"
24th Jan 2023, 6:44 AM
Snapfire