//
#include <iostream>
using namespace std;
int main() {
int age;
int weight;
int height;
cout << "Enter your age." <<endl;
cin >> age;
cout << "Enter your weight (in inches)." <<endl;
cin >> weight;
cout << "Enter your weight (in pounds)." <<endl;
cin >> height;
if ((age >= 18)&&(age <= 35))&&((weight >= 150)&&(weight <= 235))&&((height >= 66)&&(height <= 78));
{
cout << "QUALIFIED" <<endl;
}
else;
{
cout << "DISQUALIFIED" <<endl;
}
return 0;
}
please help me! i get these errors..
army.cc: In function `int main()':
army.cc:25: error: expected identifier before '(' token
army.cc:25: error: expected `;' before '(' token
army.cc:29: error: expected primary-expression before "else"
army.cc:29: error: expected `;' before "else"