choose.m
来自「人工免疫进化算法来解决简单字符串识别的问题」· M 代码 · 共 14 行
M
14 行
function choose;
disp(sprintf(' What can I do for you? '));
disp(sprintf(' Choose 1 to coach the system.'));
disp(sprintf(' Choose 2 to identify the intrutor.'));
p=input(' Make you choose:');
switch p,
case 1,
disp(sprintf(' Now give me the example!'));
case 2,
disp(sprintf(' Enemy will be beaten down'));
otherwise
disp(sprintf(' Are you crazy'));
end;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?