How can you print multiple variables inside a string using printf?
<p>I want to find the maximum value of two numbers, and print it. I want to print all three numbers. I am using the following code.</p>

<pre><code>#include&lt;stdio.h&gt;
#include&lt;conio.h&gt;
main()
{
     //clrscr();
     int a,b,c;
     printf("insert two numbers:");
     scanf("%d%d", &amp;a, &amp;b);
     c = (a&gt;b) ? a : b;
     printf("\nmaximum of %d",a," and %d",b,"  is = %d" c);
     getch();

}
</code></pre>

<p>However, I receive two syntax errors (Please find the attached figure). 
Could anybody help me out with it?</p>

<p><img src="https://i.stack.imgur.com/8TpsO.png" alt=""></p>