Need Help!!
Hi there, i was trying to create this if statement using the example in the course but changed it so that you could input you age and then it will write it back to you the age you put in an wither or not your an Adult, Teenager or Child. I thought that I had coded it correctly but when I go to run it, I get a return the console of no input if I input a number and don't press return and click submit. or if i put in a number and press return and then press submit i get loads of error messages which don't make sense because i though i had done the stuff they had asked me to do. hears all of my code and if there is something i am doing wrong then i would love it if someone could help. #include <iostream> using namespace std; int main(){ int age; cout << "Enter your age to see if you are an Adult, Teenager or child: " << endl; cin >> age; if(age >= 13){ If (age >= 18){ cout << "Your age is " << age << " that makes you an adult!!"; }else(age <= 17);{ cout << "Your age is " << age << " that makes you an Teenager!!"; } }else;{ if(age<13){ cout << "Your age is " << age << " that makes you an Child!!"; }else;{ cout << "somethiing went wrong"; } } return 0; }