汉诺塔算法
问题描述:
汉诺塔算法
答
#include int main(){void hanoi(int n,char one,char two,char three); // 对hanoi函数的声明 int m;printf("input the number of diskes:");scanf("%d",&m);printf("The step to move %d diskes:\n",m);hanoi(m,'A...