title: error: expected identifier before '(' token
body: <p>On the if statements, it keeps on giving me the error:</p>
  
  <blockquote>
    <p>expected identifier before '(' token</p>
  </blockquote>
  
  <p>I was banking on this to work.</p>
  
  <pre><code>void setup() 
  {
    Serial.begin(9600);
    Serial.println("We will be calculating whether or not ");
    Serial.println("you are underweight, normal, overweight, or obese. ");
  }
  
  void loop()
  {
    float weight;
    float height;
    float BMI = (703 * weight) / (height * height);
  
    Serial.println("Please input your weight (pounds)");
    while (Serial.available() &lt;= 0);
    weight = Serial.parseInt();
    Serial.println("Please input your height (inches)");
    while (Serial.available() &lt;= 0);
    height = Serial.parseInt();
  
    if ( BMI &lt; 18.5 )
    {
      Serial.println("Your body mass index is:");
      Serial.println(BMI);
      Serial.println("please wait while I calculate your weight status");
      Serial.println("...");
      delay(500);
      Serial.println("You are underweight, please go eat.");
    }
    if ( BMI &gt;= 18.5 ) &amp;&amp; (BMI &lt;= 24.9)
    {
      Serial.println("Your body mass index is:");
      Serial.println(BMI);
      Serial.println("please wait while I calculate your weight status");
      Serial.println("...");
      delay(500);
      Serial.println("Congratulations! You are a normal");
      Serial.println("... kind of.");
    }
    if (BMI &gt;= 25.0) &amp;&amp; (BMI &lt;= 29.9)
    {
      Serial.println("Your body mass index is:");
      Serial.println(BMI);
      Serial.println("please wait while I calculate your weight status");
      Serial.println("...");
      delay(500);
      Serial.println("You are Overweight");
      Serial.println("I suggest a jog");
    }
    if ( BMI &gt;= 30.0)
    {
      Serial.println("Your body mass index is:");
      Serial.println(BMI);
      Serial.println("please wait while I calculate your weight status");
      Serial.println("...");
      delay(500);
      Serial.println("You are OBESE.");
      Serial.println("You have no hope.);
     }
  }
  </code></pre>