<?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>solutions | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/solutions/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Thu, 29 Apr 2010 16:27:42 +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>C program to implement tower of Hanoi problem</title>
		<link>https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-to-implement-tower-of-hanoi-problem/</link>
					<comments>https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-to-implement-tower-of-hanoi-problem/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Sun, 04 Apr 2010 17:28:33 +0000</pubDate>
				<category><![CDATA[Advanced programs]]></category>
		<category><![CDATA[c program]]></category>
		<category><![CDATA[tower of Hanoi problem]]></category>
		<category><![CDATA[solutions]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1158</guid>

					<description><![CDATA[<p>To implement tower of Hanoi problem. #include void hanoi_tower(char,char,char,int); void hanoi_tower(char peg1,char peg2,char pege3,int n) { if(n</p>
<p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-to-implement-tower-of-hanoi-problem/">C program to implement tower of Hanoi problem</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>To implement tower of Hanoi problem.</p>
<pre lang="c">
#include<stdio.h> 	  
void hanoi_tower(char,char,char,int);
void hanoi_tower(char peg1,char peg2,char pege3,int n)
{
	if(n<=0)
        printf("\n Illegal Entry");
        if(n==1)
			printf ("\n Move disk from %c to %c", pege1,pege3);
		else
		{
		   hanoi_tower(peg1,peg3,peg2,n-1);
		   hanoi_tower(peg1,peg2,peg3,1);
		   hanoi_tower(peg2,peg1,peg3,n-1);
		}
}
Void main ()
{
    int n;
    printf("\n Input the number of dise:);
    scanf("%d", &#038;n);
    printf("\n Tower of Hanoi for 5th DISC", n);
    hanoi_tower('x','y','z',n);
}
</pre><p>The post <a href="https://studentprojects.in/software-development/c-tutorials/c/c-advanced/c-program-to-implement-tower-of-hanoi-problem/">C program to implement tower of Hanoi problem</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/c-advanced/c-program-to-implement-tower-of-hanoi-problem/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
			</item>
	</channel>
</rss>
