📄 main.m
字号:
function main
clear;
answer='The steps is: ';%the blankets here is for the consistence of the dimensions of array.
response = input('input the number of diskes:');%ask the user to input the number of diskes
n = response;
answer_b=MoveTower(n, ' Src', ' Dst', ' Aux', answer);%The details of steps is in answer_b, it will be showed at last
answer_b %show the details of steps
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -