Hey guys, I need help with a hanoi tower problem... anyone there that can help me? I have the main function but need some of the rest of it. please let me know if you can help me. thanks
here is the main function... I need the rest.
int main()
{
int num_disk, dest;
int disk[30];
GetDisk(num_disk);
GetPosition(num_disk, disk);
GetDest(dest);
move(num_disk, dest, disk);
}
I also need the number of disks to be user input and the positions of the disks to be user input also.... it should print out like 3 --> 1 when position three goes to one and things like that. If anyone has a question feel free to ask, I might know. thanks again! my email address is [email protected] if you can help me. thanks.