{"id":84,"date":"2020-06-29T06:16:31","date_gmt":"2020-06-29T06:16:31","guid":{"rendered":"\/?p=84"},"modified":"2020-06-29T06:17:11","modified_gmt":"2020-06-29T06:17:11","slug":"c-program-to-find-the-area-of-a-circle","status":"publish","type":"post","link":"http:\/\/suryaprakash.com.np\/?p=84","title":{"rendered":"C Program to Find the Area of a Circle"},"content":{"rendered":"<p>#include&lt;stdio.h&gt;<br \/>\nvoid main()<br \/>\n{<br \/>\nfloat A,r;<br \/>\nprintf(&#8220;enter the radius of the circle &#8220;);<br \/>\nscanf(&#8220;%f&#8221;,&amp;r);<br \/>\nA=3.14*r*r;<br \/>\nprintf(&#8220;\\nthe area of the cirlce = %f&#8221;,A);<br \/>\n}<\/p>\n<p><strong>OUTPUT<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-medium wp-image-85\" src=\"\/wp-content\/uploads\/2020\/06\/AreaOfCircle-300x157.png\" alt=\"\" width=\"300\" height=\"157\" srcset=\"\/wp-content\/uploads\/2020\/06\/AreaOfCircle-300x157.png 300w, \/wp-content\/uploads\/2020\/06\/AreaOfCircle-768x403.png 768w, \/wp-content\/uploads\/2020\/06\/AreaOfCircle.png 963w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>Area of circle can also be calculated using pow() function. For this we must have to include another header called <em><strong>math.h<\/strong><\/em> .<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#include&lt;stdio.h&gt; void main() { float A,r; printf(&#8220;enter the radius of the circle &#8220;); scanf(&#8220;%f&#8221;,&amp;r); A=3.14*r*r; printf(&#8220;\\nthe area of the cirlce &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,6],"tags":[],"_links":{"self":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/84"}],"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=84"}],"version-history":[{"count":1,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":86,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=\/wp\/v2\/posts\/84\/revisions\/86"}],"wp:attachment":[{"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/suryaprakash.com.np\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}