title: Incomplete stairway in C
body: <p>So what I need to have as a finished product is a program that:</p>
  <ul>
  <li>Asks for an int and only continues if the given is between one and eight. (Finished)</li>
  <li>When given the number &quot;8&quot; a stairway that has eight hashtags in it's bottom row must appear. (Finished)</li>
  <li>The stairway must be right-aligned, so there must be spaces printed to make the top right hashtag align with the bottom right hashtag. (Incomplete)</li>
  <li>When the stairway is given the number &quot;1&quot; it must simply print a single hastag. (Incomplete)</li>
  </ul>
  <p>My code is as follows:</p>
  <pre><code>int main (void)
  {
      int height = 0;
      int change;
      int row;
      int space;
      
      do{
          height = get_int(&quot;Height: &quot;);
      } while(height &lt; 1  || height &gt; 8);
  
      for (change = 0; change &lt; height; change++ )
      {
          for (space = 7; space &gt; change; space--)
          {
              printf(&quot; &quot;);
          }
  
          for (row = -1; row &lt; change; row++)
          {
              printf(&quot;#&quot;);
          }
  
          printf(&quot;\n&quot;);
      }
  }
  </code></pre>
  <p>PLease can someone tell my which functions I need to implement so I can complete the final two criteria?</p>