title: My printf format specifier will not compile due to the format of my string, along with the arguments being used
body: <p>I am trying to write a small program that will convert a person's, or any height from imperial to metric but I am getting the compiler error is telling me: "data argument is not used by format string"</p>
  
  <pre><code>    printf("Enter your height with just a space between feet and inches: ");
  scanf("%2s", "%f", &amp;ft, &amp;in);
  ft = in / 12;
  double delta = (ft * 30.48);
  double rem = in * 2.54;
  double calc = delta + rem;
  printf("Your height is %f ft and %.1f in\n", delta, calc);
  
  return (0);
  </code></pre>