将这个程序改为C,求高手帮忙

日期:2012-06-14 10:48:18 人气:3

将这个程序改为C,求高手帮忙

#include #include void move(char getone,char putone) { printf("%c-->%c\n",getone,putone); } void hanoi(int n,char one,char two,char three) { if(n==1) move(one,three); else{ hanoi(n-1,one,three,two); move(one,three)
    A+
热门评论