<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Insertion sort in C program</title>
	<atom:link href="http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/feed/" rel="self" type="application/rss+xml" />
	<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/</link>
	<description>...bringing innovative minds together</description>
	<lastBuildDate>Thu, 09 Feb 2012 18:55:58 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.6</generator>
	<item>
		<title>By: ZIARIDOY20</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6826</link>
		<dc:creator>ZIARIDOY20</dc:creator>
		<pubDate>Mon, 06 Feb 2012 15:11:33 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6826</guid>
		<description>//simple sollution of insertion sort (assending order)

#include

int main()
{
    int i,j,temp,n=5,a[5];

    for(i=0;i&lt;n;i++)
    {
     scanf(&quot;%d&quot;,&amp;a[i]);
    }

    for(j=0;j=0) &amp;&amp; (a[i]&gt;temp))
            {
                a[i+1]=a[i];
                i=i-1;
            }
            a[i+1]=temp;
    }
    for(i=0;i&lt;n;i++)
    {
        printf(&quot;%d &quot;,a[i]);
    }

}</description>
		<content:encoded><![CDATA[<p>//simple sollution of insertion sort (assending order)</p>
<p>#include</p>
<p>int main()<br />
{<br />
    int i,j,temp,n=5,a[5];</p>
<p>    for(i=0;i&lt;n;i++)<br />
    {<br />
     scanf(&quot;%d&quot;,&amp;a[i]);<br />
    }</p>
<p>    for(j=0;j=0) &amp;&amp; (a[i]&gt;temp))<br />
            {<br />
                a[i+1]=a[i];<br />
                i=i-1;<br />
            }<br />
            a[i+1]=temp;<br />
    }<br />
    for(i=0;i&lt;n;i++)<br />
    {<br />
        printf(&quot;%d &quot;,a[i]);<br />
    }</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: divyanshu</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6824</link>
		<dc:creator>divyanshu</dc:creator>
		<pubDate>Mon, 06 Feb 2012 14:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6824</guid>
		<description>What will be the change in your program if i have to sort array in descending order using insertion sort??</description>
		<content:encoded><![CDATA[<p>What will be the change in your program if i have to sort array in descending order using insertion sort??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mala</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6780</link>
		<dc:creator>mala</dc:creator>
		<pubDate>Wed, 01 Feb 2012 08:22:07 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6780</guid>
		<description>excellent article, explained in such simple terms that anybody can understand. Hope all algorithm books could do the same justice.... You should think of writing some books.</description>
		<content:encoded><![CDATA[<p>excellent article, explained in such simple terms that anybody can understand. Hope all algorithm books could do the same justice&#8230;. You should think of writing some books.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: surya</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6758</link>
		<dc:creator>surya</dc:creator>
		<pubDate>Mon, 30 Jan 2012 06:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6758</guid>
		<description>good explanation witha diagram</description>
		<content:encoded><![CDATA[<p>good explanation witha diagram</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: i want the insertion sorting in c....</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6739</link>
		<dc:creator>i want the insertion sorting in c....</dc:creator>
		<pubDate>Fri, 27 Jan 2012 16:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6739</guid>
		<description>nyccc</description>
		<content:encoded><![CDATA[<p>nyccc</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: i want the insertion sorting in c....</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6738</link>
		<dc:creator>i want the insertion sorting in c....</dc:creator>
		<pubDate>Fri, 27 Jan 2012 16:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6738</guid>
		<description>it helps a lot...</description>
		<content:encoded><![CDATA[<p>it helps a lot&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maske mahesh</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6718</link>
		<dc:creator>maske mahesh</dc:creator>
		<pubDate>Wed, 25 Jan 2012 10:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6718</guid>
		<description>#include
void main()
{
	int A[20], N, Temp, i, j;
	clrscr();
	printf(&quot;\n\n\t ENTER THE NUMBER OF TERMS...: &quot;);
	scanf(&quot;%d&quot;, &amp;N);
	printf(&quot;\n\t ENTER THE ELEMENTS OF THE ARRAY...:&quot;);
	for(i=0; i&lt;N; i++)
	{
		gotoxy(25,11+i);
		scanf(&quot;\n\t\t%d&quot;, &amp;A[i]);
	}
	for(i=1; i&lt;N; i++)
	{
		Temp = A[i];
		j = i-1;
		while(Temp&lt;A&gt;=0)
		{
			A[j+1] = A[j];
			j = j-1;
		}
		A[j+1] = Temp;
	}
	printf(&quot;\n\tTHE ASCENDING ORDER LIST IS...:\n&quot;);
	for(i=0; i&lt;N; i++)
		printf(&quot;\n\t\t\t%d&quot;, A[i]);
	getch();
}</description>
		<content:encoded><![CDATA[<p>#include<br />
void main()<br />
{<br />
	int A[20], N, Temp, i, j;<br />
	clrscr();<br />
	printf(&#8220;\n\n\t ENTER THE NUMBER OF TERMS&#8230;: &#8220;);<br />
	scanf(&#8220;%d&#8221;, &amp;N);<br />
	printf(&#8220;\n\t ENTER THE ELEMENTS OF THE ARRAY&#8230;:&#8221;);<br />
	for(i=0; i&lt;N; i++)<br />
	{<br />
		gotoxy(25,11+i);<br />
		scanf(&quot;\n\t\t%d&quot;, &amp;A[i]);<br />
	}<br />
	for(i=1; i&lt;N; i++)<br />
	{<br />
		Temp = A[i];<br />
		j = i-1;<br />
		while(Temp<a>=0)<br />
		{<br />
			A[j+1] = A[j];<br />
			j = j-1;<br />
		}<br />
		A[j+1] = Temp;<br />
	}<br />
	printf(&#8220;\n\tTHE ASCENDING ORDER LIST IS&#8230;:\n&#8221;);<br />
	for(i=0; i&lt;N; i++)<br />
		printf(&quot;\n\t\t\t%d&quot;, A[i]);<br />
	getch();<br />
}</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarath</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6664</link>
		<dc:creator>Sarath</dc:creator>
		<pubDate>Tue, 17 Jan 2012 20:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6664</guid>
		<description>Thanks.It was short but very helpful to me.</description>
		<content:encoded><![CDATA[<p>Thanks.It was short but very helpful to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nadir Hajiyev</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6650</link>
		<dc:creator>Nadir Hajiyev</dc:creator>
		<pubDate>Mon, 16 Jan 2012 12:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6650</guid>
		<description>Thank you!!</description>
		<content:encoded><![CDATA[<p>Thank you!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: magda</title>
		<link>http://electrofriends.com/source-codes/software-programs/c/sorting-programs/program-to-sort-the-numbers-using-insertion-sort/comment-page-3/#comment-6648</link>
		<dc:creator>magda</dc:creator>
		<pubDate>Sun, 15 Jan 2012 20:33:01 +0000</pubDate>
		<guid isPermaLink="false">http://electrofriends.com/?p=351#comment-6648</guid>
		<description>Really thanks guy!!!!!</description>
		<content:encoded><![CDATA[<p>Really thanks guy!!!!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

