正在加载图片...
1.1 Program Organization and Control Structures 9 iteration yes while false complete? condition no true Permission is block block increment index FOR iteration http://www.nr.com or call 1-800-872-7423 (North America WHILE iteration (a) (b) readable files (including this one)to any server computer,is strictly prohibited. granted for internet users to make one paper copy for their block block break true only),orsend email to directcustserv@cambridge.org(outside North America). own personal use.Further reproduction,or Copyright (C)1988-1992 by Cambridge University Press.Programs Copyright(C)1988-1992 by Numerical Recipes Sample page from NUMERICAL RECIPES IN C:THE ART OF SCIENTIFIC COMPUTING(ISBN 0-521-43108-5) condition true while false condition block false Software. DO WHILE iteration BREAK iteration (c) (d) Figure 1.1.1.Standard control structures used in structured programming:(a)for iteration;(b)while iteration;(c)do while iteration;(d)break iteration;(e)if structure;(f)switch structure1.1 Program Organization and Control Structures 9 Permission is granted for internet users to make one paper copy for their own personal use. Further reproduction, or any copyin Copyright (C) 1988-1992 by Cambridge University Press. Programs Copyright (C) 1988-1992 by Numerical Recipes Software. Sample page from NUMERICAL RECIPES IN C: THE ART OF SCIENTIFIC COMPUTING (ISBN 0-521-43108-5) g of machine￾readable files (including this one) to any server computer, is strictly prohibited. To order Numerical Recipes books or CDROMs, visit website http://www.nr.com or call 1-800-872-7423 (North America only), or send email to directcustserv@cambridge.org (outside North America). yes no FOR iteration (a) false true WHILE iteration (b) true false BREAK iteration (d) true false DO WHILE iteration (c) iteration complete? block increment index while condition while condition block break condition block block block Figure 1.1.1. Standard control structures used in structured programming: (a) for iteration; (b) while iteration; (c) do while iteration; (d) break iteration; (e) if structure; (f) switch structure
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有