title: How to change this code to a recursive function?
body: <p>So, I wrote the following code to countdown from a number that a user enters down to 0. I need help on how I would take this code and change it to a recursive function. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  int main ()
  {
  
    int count;
    printf ("Please enter a number: ");
    scanf ("%d", &amp;count);
  
    while (count &gt; -1)
    {
      if (count != 0)
      {
         printf ("%d \n", count);
      }
      else
      {
         printf ("%d\nBlast Off!", count);
      } 
  
      count--;
  }
  
  return 0;
  }
  </code></pre>