Chapter 8. Working with Data
In This Chapter
Making Decisions in Code
Using Else
Other Forms of Decision Making
Nesting If...Else Statements
Selecting with Select Case
Looping in Visual Basic
Now that you know Visual Basic's mathematical and decision operators, you can put those operators to use in this chapter. The comparison operators enable you to set up complex decision-making and repetition statements in Visual Basic. One of the advantages that the computer offers to us is that the computer will repeat a task over and over without getting bored. In this chapter, you'll learn how to write programs that repeat sections of code.
The highlights of this chapter include the following:
Use the If statement to make decisions.
The Else branch enables ...
Get Absolute Beginner's Guide to Programming, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.