Issue with a simple menu based program

What am I doing wrong? Thanks to the person that answers this.

#include <iostream>
using namespace std;


int main()

{
double a;

cout<< "What age group do you fall into?" << endl << "We're about to find out!" << end << "Enter you age HERE ]>";
cin>>a;

if (a<13)

{

cout<< "You are a child."<< endl <<;

}

else if (a>=13)

{
cout<< "You are a teen or and adult";

}

system("puase");

return 0;
}
What is wrong with this? Describe the desired behavior and describe the current behavior and why it is wrong.

Also, use code tags. See http://cplusplus.com/articles/z13hAqkS/ .
Last edited on
you also spelled pause wrong, if that is your problem. get rid of that line altogether.
Topic archived. No new replies allowed.