Appendix A 475
Additional Lab Exercises
General Programming Techniques
Solution—Testing Numbers, Step 3
Figure A-5 shows the solution to the Testing Numbers exercise using only
three objects.
Figure A-5. Testing Numbers, Step 3
Note This could be implemented using a Real64 Input dialog box with its
automatic error-checking capability. However, the operator must enter a
valid number before the program can complete.