Visual Basic 2008 Programming: Business Applications with a Design Perspective
Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9
Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Appendix A Appendix B Appendix C Home
Loading
Last change: February 13 2016 18:48:19.

 Chapter in PDF

Table of Contents

Chapter 7: Repetition
Last change: February 13 2016 18:47:47.
<<PreviousNext>>

7.4   The W-4 Form Project: An Application Example

Loops are used extensively in programs but can be difficult for the beginner to understand. To illustrate how they can be used in a practical problem, consider a simplified aspect of a payroll system. When a new employee is hired, the payroll department needs to establish an employee record for the employee so that proper payroll withholdings can be handled. An aspect of this involves the completion of a W-4 form that requires the employee to divulge information concerning employee’s tax status, such as the marital status and number of dependents. This simplified W-4 form example focuses on the programming steps, rather than the information required.
Last change: February 13 2016 18:47:51.
  1. Do Versus For
  2. For Versus For Each
  3. Tips for Efficiency
  • 7.4 The W-4 Form Project: An Application Example
    1. The W-4 Form Project
    2. Design Considerations
    3. The Visual Interface
    4. Coding the Project
    5. <<PreviousNext>>