onmethods.txt

来自「acm大赛题」· 文本 代码 · 共 11 行

TXT
11
字号
Methods (Functions)

Here are some of the reasons methods are useful: 

. By giving a name to a sequence of statements, you make your program easier to read and debug. 

. Dividing a long program into methods allows you to separate parts of the program, debug them in isolation, and then compose them into a whole. 

. Methods facilitate both recursion and iteration. 

. Well-designed methods are often useful for many programs. Once you write and debug one, you can reuse it. 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?