REQUIREMENTS DOCUMENT Date submitted: May 11, 2014 Application title: Weekly Pay Calculator Purpose: The Weekly Pay Calculator Windows application computes the weekly pay for an hourly employee. Program From a window on the screen, a payroll clerk enters the total minutes an Procedures: employee worked in a week and the hourly pay rate. The program displays the weekly pay for the employee. Algorithms, 1. The payroll clerk must be able to enter the total minutes worked during Conditions: the week and the hourly pay rate. 2. The company name (Western Distribution) and the picture (Payroll found at scsite.com/vb2010/ch4/images) will be displayed throughout the entire process. 3. After entering the total minutes worked and hourly pay rate, the payroll clerk clicks the weekly pay button. 4. The weekly pay is displayed in currency format together with the number of hours andminutes worked. Notes and 1. The user can clear the total minutes worked, the hourly pay rate, the Restrictions: hours and minutes worked, and the weekl
y pay by clicking a clear button. He then can enter another employeeÂ’s data. 2. An exit button should close the application. 3. In this application, if hours worked is greater than 40, the hourly pay rate still applies. Comments: n/a USE CASE DEFINITION 1. The Windows Application opens. 2. The payroll clerk enters the total minutes worked by an employee and the employeeÂ’s hourly pay rate. 3. The payroll clerk clicks the Weekly Pay button. 4. The program displays the hours worked, the minutes worked, and the employeeÂ’s weekly pay. 5. The payroll clerk can click the Clear button and then repeat steps 2 through 4. 6. The user terminates the program by clicking the Exit button. Figure 4-106 USE CASE DEFINITION 1. The Windows Application opens. 2. The user enters the number of miles traveled. 3. The user clicks the Display Fare button. 4. The program displays the total fare. 5. The user can click the Clear button and repeat steps 2-4. 6. The user terminates the program by clicking the Exit button. Figure 4-103