Java Reference
In-Depth Information
Control Statements: Part 1;
Assignment, ++ and --
Operators
4
Let's all move one place on.
—Lewis Carroll
How many apples fell on
New t o n's h e a d b e f o re h e t oo k t h e
hint!
—Robert Frost
Objectives
In this chapter you'll:
Learn basic problem-solving
techniques.
Develop algorithms through
the process of top-down,
stepwise refinement.
Use the if and if else
selection statements to
choose between alternative
actions.
Use the while repetition
statement to execute
statements in a program
repeatedly.
Use counter-controlled
repetition and sentinel-
controlled repetition.
Use the compound
assignment operator, and the
increment and decrement
operators.
Learn about the portability of
primitive data types.
 
 
Search WWH ::




Custom Search