title: Java - ' ) ' expected error
body: <p>Bellow is part of a code I'm making  that calculates volumes. I'm getting the "' ) ' expected error" 2 times. First on -> <code>if (solidom.equalsIgnoreCase("esfera"){</code> , and the second one at -> <code>if (solidom.equalsIgnoreCase("cilindro") {</code> . Can someone help me? :/</p>
  
  <pre><code>private static double volume(String solidom, double alturam, double areaBasem, double raiom) {
  double vol;
  
      if (solidom.equalsIgnoreCase("esfera"){
          vol=(4.0/3)*Math.pi*Math.pow(raiom,3);
      }
      else {
          if (solidom.equalsIgnoreCase("cilindro") {
              vol=Math.pi*Math.pow(raiom,2)*alturam;
          }
          else {
              vol=(1.0/3)*Math.pi*Math.pow(raiom,2)*alturam;
          }
      }
      return vol;
  }
  </code></pre>