Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
60% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
Ranked #107.40K
~475 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for Chinjoo

[CODE]#include<stdio.h> #include<conio.h> #include<math.h> void hanoi(int x, char from,char to,char aux) { if(x==1) { printf("Move Disk From %c to %c\n",from,to); } else { hanoi(x-1,from,aux,to); printf("Move Disk From %c to %c\n",from,to); hanoi(x-1,aux,to,from); } } void main() { int disk; int moves; clrscr(); printf("Enter the number of disks you want to play with:"); …

Member Avatar for yash00yash
0
475