1 / 41

Chapter 3: Selection Structures: Making Decisions

1-2. 3.1An Introduction to Selection Structures. Single-alternative (If-Then)A single block of statements to be executed or skippedDual-alternative (If-Then-Else) Two blocks of statements, one of which is to be executed, while the other one is to be skippedMultiple-alternative (If-Then-Else-If

elom
Télécharger la présentation

Chapter 3: Selection Structures: Making Decisions

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


    1. Chapter 3: Selection Structures: Making Decisions

    2. 1-2 3.1 An Introduction to Selection Structures Single-alternative (If-Then) A single block of statements to be executed or skipped Dual-alternative (If-Then-Else) Two blocks of statements, one of which is to be executed, while the other one is to be skipped Multiple-alternative (If-Then-Else-If or Case/Switch) More than two blocks of statements, only one of which is to be executed and the rest skipped

    3. 1-3 Flowchart for Single and Dual Alternative Selection Structures

More Related