Chapter 3- Data Types and Operators Boolean Expressions Page 2 3 4

Introduction

The If Statement Page 2 3 4 5 6 7 8 9
Arithmetic Operations Page 2 3 4 5 6 Boolean Operators and Nested If Statements Page 2 3 4 5 6 7
Events and Sequential Processing Page 2 3 4 5 More Examples Page 2 3 4 5 6 7 8 9 10 11 12
Datatypes and Conversions Page 2 3 4 5 6 7 Using Check Box and Option Controls Page 2 3 4 5 6 7 8 9 10
Variable Declarations - Local and Global Page 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Exercises Page 2 3 4 5 6 7 8
Chapter 4- Selection Statements Review Questions
Introduction

4-7: Check Box and Option Controls

Exercise 4-6: Testing the Program

This program demonstrates how in some situations the need for user input by typing can be eliminated. This might often simplify the code, removing the need to validate user input. However, it is still necessary to test the code, of course. It is always possible - indeed, quite likely - that the interface does not work as you expect.

So carefully test the program. Here are a few things to look for:

We'll possibly return to this exercise in later sections, since it has the potential for many interesting developments!