title: How to take input from user in the middle of print statement
body: <pre><code>#include &lt;stdio.h&gt;
  
  int main()
  {
       int r;
       printf(&quot;radius is : cm&quot;); 
       scanf(&quot;%d&quot;,&amp;r);
       printf(&quot; radius is %d cm&quot;,r);
  }
  </code></pre>
  <p>This is the code I wrote and it is printing  <code>radius is : cm (input)</code> but I want the PC to print it as
  <code>radius is : (input) cm</code>
  I tried it by using one more print statement after the scan statement but the <code>cm</code> is getting printed after user giving the input.</p>
  <p>How to take the input from between the sentence of a print statement?</p>