title: Multiplying two numbers by successive sums in F#
body: <p>Giving m and n as integers, I can multiply them by successive sums like this:</p>
  
  <pre><code>    m * n = m + m + m + ... + m (n times) 
  </code></pre>
  
  <p>So, let's consider the pseudo code below:</p>
  
  <pre><code>    m = ... (first number)
      n = ... (second number)
  
      Result = 0;
      while (n &gt; 0)
      {
          Result = Result + m;
          n = n - 1;
      }
  </code></pre>
  
  <p>How can I implement this algorithm in F# knowing that variables are immutable? 
  Put the question in another way, how can I update the variables <em>Result</em> and <em>n</em> along the successive iterations? </p>
  
  <p>Can someone write this algorithm in F#? </p>
  
  <p>Thank you</p>
  
  <p>Foot note: I'm start to study F# and I'm complete puzzled with functional programming.</p>