{"id":135,"date":"2020-06-30T11:59:25","date_gmt":"2020-06-30T11:59:25","guid":{"rendered":"\/?p=135"},"modified":"2020-06-30T12:07:24","modified_gmt":"2020-06-30T12:07:24","slug":"greatest-number-among-three-numbers","status":"publish","type":"post","link":"http:\/\/suryaprakash.com.np\/?p=135","title":{"rendered":"Greatest Number Among Three Numbers"},"content":{"rendered":"\n<div class=\"wp-container-1 wp-block-group\"><div class=\"wp-block-group__inner-container\">\n<p><span style=\"font-family: 'times new roman', times, serif;\">\/\/<span style=\"color: #008080;\">greatest number among three numbers<\/span><br \/>#include&lt;stdio.h&gt;<br \/>void main()<br \/>{<br \/>int a,b,c, greatest;<br \/>printf(&#8220;enter three numbers:&#8221;);<br \/>scanf(&#8220;%d%d%d&#8221;,&amp;a,&amp;b,&amp;c);<br \/>if(a&gt;b &amp;&amp; a&gt;c)<br \/>greatest=a;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 <span style=\"color: #008080;\">\/\/Assigning the greatest value in variable greatest.<\/span><br \/>else if(b&gt;a &amp;&amp; b&gt;c)<br \/>greatest=b;<br \/>else<br \/>greatest=c;<br \/>printf(&#8220;the greatest number is %d&#8221;,greatest);<br \/>}<br \/><\/span><span style=\"color: #339966;\"><strong>OUTPUT<\/strong><\/span><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-136\" src=\"\/wp-content\/uploads\/2020\/06\/greatest-300x114.png\" alt=\"\" width=\"300\" height=\"114\" srcset=\"\/wp-content\/uploads\/2020\/06\/greatest-300x114.png 300w, \/wp-content\/uploads\/2020\/06\/greatest.png 456w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\/\/greatest number among three numbers#include&lt;stdio.h&gt;void main(){int a,b,c, greatest;printf(&#8220;enter three numbers:&#8221;);scanf(&#8220;%d%d%d&#8221;,&amp;a,&amp;b,&amp;c);if(a&gt;b &amp;&amp; a&gt;c)greatest=a;\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/135"}],"collection":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135"}],"version-history":[{"count":3,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":139,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions\/139"}],"wp:attachment":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}