ITP 109x Chapter Notes - Chapter 8: Infinite Loop, Increment And Decrement Operators

68 views2 pages

Document Summary

Section 8. 01 loops loop a construct that repeatedly executes specific code as long as some condition is true. Section 8. 03 more while examples (not applicable to notes) Section 8. 04 do-while loops do-while loop a loop construct that first executes the loop body"s statements, then checks the loop condition. Section 8. 05 counting loop variable counts the number of iterations of a loop. ++i shorthand version of i = i + 1. Itp 109: introduction to java programming increment operator the ++ operator decrement operator the decrement operator, as in --i, is equivalent to i = i - 1. Section 8. 07 nested loops nested loop a loop that appears in the body of another loop, and is composed of an inner and outer loop. Section 8. 08 incremental programming incrementally programs should be developed incrementally i. e. creating a simple program version, and then growing the program little-by-little into successively more-complete versions.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents