370 likes | 531 Views
Objectives. After studying this chapter, you should be able to:Include a nested selection structure in pseudocode and in a flowchartCode an If/ElseIf/Else selection structureInclude a Case selection structure in pseudocode and in a flowchartCode a Case selection structureInclude radio buttons i
E N D
1. Microsoft Visual Basic 2008: Reloaded Third Edition Chapter Five
More on the Selection Structure
2. Objectives After studying this chapter, you should be able to:
Include a nested selection structure in pseudocode and in a flowchart
Code an If/ElseIf/Else selection structure
Include a Case selection structure in pseudocode and in a flowchart
Code a Case selection structure
Include radio buttons in an interface
Microsoft Visual Basic 2008: Reloaded, Third Edition 2
3. Objectives (continued) Display a message in a message box
Prevent the entry of unwanted characters in a text box
Microsoft Visual Basic 2008: Reloaded, Third Edition 3
4. Microsoft Visual Basic 2008: Reloaded, Third Edition 4 Nested Selection Structures Nested selection structure: a selection structure that is completely contained within another selection structure
Primary decision: decision made by the outer selection structure
Secondary decision: decision made by the inner selection structure
5. Nested Selection Structures (continued) Microsoft Visual Basic 2008: Reloaded, Third Edition 5