title: Trying to create this blackjack type game. Can't get printf to work
body: <p>So whenever I try running this code it will go through the first printf but it displays the second one without letting me input a value. Is there something I am doing wrong?</p>
  
  <pre><code>    #include &lt;stdio.h&gt;
  
  int main(int argc, const char * argv[])
  {
      int suit1;
      int suit2;
      char H, S, C, D;
      float value1;
      float value2;
      printf("Please enter the card's suit");
      scanf("%d", &amp;suit1);
      printf("Please enter the card's value");
      scanf("%f", &amp;value1);
      printf("%d %f", suit1, value1);
  }
  </code></pre>