<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>calculate area | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/calculate-area/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Wed, 03 Dec 2008 11:55:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>To calculate area and circumference of the circle</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/simple/to-calculate-area-and-circumference-of-the-circle-2/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/simple/to-calculate-area-and-circumference-of-the-circle-2/#respond</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Wed, 03 Dec 2008 11:39:39 +0000</pubDate>
				<category><![CDATA[Simple programs]]></category>
		<category><![CDATA[c program]]></category>
		<category><![CDATA[C/C++ Programms]]></category>
		<category><![CDATA[calculate area]]></category>
		<category><![CDATA[circumference of the circle]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=268</guid>

					<description><![CDATA[<p>Let us start from the beginning. Here discusses a model program for calculating the circumference and the area of the circle, where the radius is specified by the user. Logic: As we know, Circumference is &#8216;Pi&#8217; times diameter of the circle and Area is &#8216;Pi&#8217; times the radius squared. Implementing the same is the main</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/simple/to-calculate-area-and-circumference-of-the-circle-2/">To calculate area and circumference of the circle</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Let us start from the beginning. Here discusses a model program for calculating the circumference and the area of the circle, where the radius is specified by the user.<br />
<strong><br />
Logic: </strong>As we know, Circumference is &#8216;Pi&#8217; times diameter of the circle and Area is &#8216;Pi&#8217; times the radius squared. Implementing the same is the main concept here.</p>
<p>Here, we  declared three floating point numbers, to scan user inputs, and to store and display the values after calculation. Displayed a note to the user to enter radius, scanned through the function which is in the included header library &#8220;stdio.h&#8221;. Area and the circumference are calculated as discussed.</p>
<p>#include&lt;stdio.h&gt;<br />
void main()<br />
{<br />
float area, radius, circum;<br />
clrscr();<br />
printf(&#8220;\n\n\t ENTER THE RADIUS OF THE CIRCLE&#8230;:&#8221;);<br />
scanf(&#8220;%f&#8221;, &amp;radius);<br />
area = 3.142 * radius * radius;<br />
circum = 2 * 3.142 * radius;<br />
printf(&#8220;\n\n\t THE AREA OF THE CIRCLE IS&#8230;: %f&#8221;, area);<br />
printf(&#8220;\n\n\t THE CIRCUMFERENCE OF THE CIRCLE IS&#8230;: %f\n&#8221;, circum);<br />
getch();<br />
}</p>
<p><a href="https://studentprojects.in/wp-content/uploads/2008/12/area_cir2.zip">Download exe and source code here.</a></p><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/simple/to-calculate-area-and-circumference-of-the-circle-2/">To calculate area and circumference of the circle</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/software-development/c-tutorials/c/simple/to-calculate-area-and-circumference-of-the-circle-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
