A. void hanoi(int n, int A, int C, int B){if (n > 0) {hanoi(n-1,A,C, B);move(n,a,b);hanoi(n-1, C, B, A);}}
B. void hanoi(int n, int A, int B, int C){if (n > 0){hanoi(n-1, A, C, B);move(n,a,b);hanoi(n-1, C, B, A);}}
C. void hanoi(int n, int C, int B, int A){if (n > 0){hanoi(n-1, A, C, B);move(n,a,b);hanoi(n-1, C, B, A);}}
D. void hanoi(int n, int C, int A, int B) {if (n > 0){hanoi(n-1, A, C, B);move(n,a,b);hanoi(n-1, C, B, A);}}