2_________1379395146.4109cpphtp4 ppt 02
2008 Pearson Education, Inc. All rights reserved. 1 4 4 Control Statements: Part 1.
1 More on Algorithms and Problem Solving This presentation has been included to tie together the following concepts: Structured Programming, Algorithms.
2003 Prentice Hall, Inc. All rights reserved. 1 Sequential execution –Statements executed in order Transfer of control –Next statement executed not next.
1 Review (Week2) - Control Structures C++ has only seven control structures: –Sequence structure Programs executed sequentially by default –Selection structures.
Chapter 4 - Control Structures: Part 1 Outline 4.4Control Structures 4.5The if Selection Structure 4.6The if/else Selection Structure 4.7The while Repetition.
4 4 Control Statements. RECAP We have learnt: Variables and Data Types – Declaration and initialization – int, char, double, float, long, short, strings.
Review (Week1) C++_ the unit of programming is the class from which objects are eventually instantiated. C++ classes contain functions that implement class.
2006 Pearson Education, Inc. All rights reserved. 1 4 4 Control Statements: Part 1.
1 Review (Week1) C++_ the unit of programming is the class from which objects are eventually instantiated. C++ classes contain functions that implement.
COMP1170 Midterm Preparation (March 17 th 2009) Acknowledgment The notes are adapted from those provided by Deitel & Associates, Inc. and Pearson Education.