论文中,怎么编辑好看的“伪代码”

来源:互联网 发布:淘宝自创护肤品 编辑:程序博客网 时间:2024/04/29 02:12

1. for,end for,do,while, end while,if,else都用加粗

2. 变量要用花体

3. 不要使用括号,而是使用缩进表示代码块

4. 需要有input,output

5. 需要有行标

0 0