title: I'm trying to write a format string in c (command line tool)
body: <p>So what I'm trying to do specifically is write code that tells me the sine of one radian, which is 0.841. </p>
  
  <p>When I write my code, I get 0.000. 
  Here's the code:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt; math.h&gt;
  #include &lt; stdlib.h&gt;
  int main(...[] ). {
      double sin (double x) ;
      printf(" radian = %.3f sin.\n", "double sin");
  . . .
  </code></pre>
  
  <p>My output is :</p>
  
  <pre><code>Radian = 0.000 sin
  </code></pre>