title: C++ Programming Error: expected unqualified-id before "{" token
body: <p>I am a newbie at C++, and  I am trying to make a "calculator" which: adds two numbers, subtracts two numbers, multiplies two numbers, divides two numbers, takes the sine of a number, takes the cosine of a number, or takes the tangent of a number. Here is the code: </p>
  
  <pre><code>#include &lt;iostream&gt;;
  #include &lt;cmath&gt;;
  #include &lt;string&gt;
  int main () 
  {}
  int ask(std::string operation);
      {
          std::cout&lt;&lt;"Type Addition, Subtraction, Multiplication, Division, Sine, Cosine, or Tangent:\n";
          std::cin&gt;&gt;operation;
              if (operation="Addition") 
              {
                  goto Add
                                  }
      float Add(float addend1, float addend2, float answer) 
      {
      Add:
          std::cout&lt;&lt;"Insert the first number to be added:\n";
          std::cin&gt;&gt;addend1;
          std::cout &lt;&lt; "Insert the second number to be added:\n";
          std::cin&gt;&gt;addend2;
          answer=addend1+addend2;
          std::cout&lt;&lt;addend1&lt;&lt;"+"&lt;&lt;addend2&lt;&lt;"="&lt;&lt;answer&lt;&lt;"\n";
          break
      }
  }
  </code></pre>
  
  <p>There will be more functions later, but my problem is on line 7.  There is an error that says: expected unqualified-id before "{" token.  I know my indentation is horrible, but thanks!</p>