Download presentation
Presentation is loading. Please wait.
Published byGillian Wood Modified over 9 years ago
1
INTRODUCTION SELECTION STATEMENTS -Control Expression -Single/Compound Clauses -Dangling Else MUTLIPLE SELECTION CONSTRUCTS -C/Java Switch -C# Switch -Ada Case ITERATIVE STATEMENTS -Counter controlled -Fortran 95 -ADA -C-Based -Logically Controlled -Pretest -Postest USER-LOCATED LOOP CONTROL DATA STRUCTURE ITERATION GUARDED COMMANDS LECTURE OUTLINE FOR: CHAPTER 8 CONTROL FLOW
2
What is the OUTPUT of this FORTRAN program?
3
Fill in the chart below.
4
Fix this code.
5
Convert this C++ Dangling Else to Ada.
6
Multiple Selection Statements (C-Based Syntax)
7
Is this a valid C++ switch statement?
8
C# Switch Statement
9
Multiple Selection Statements (Ada Syntax)
10
What are values of X and Y?
11
Terminate loops when sum>1000 without altering loop parameters
12
C# Example Using Break Labels
13
C++.NET Iterator Example
14
Java Iterator Example
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.