CIS115 Week 2 Lab Solution

CIS115 Week 2 Lab Solution - 1. Problem Description (v1.0)...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Problem Description (v1.0) A small startup software developer company needs to create a program that will calculate the pay of its employees. For the first version of the program, the company wants the program to accept an employee’s name, the number of hours the employee worked, and the hourly pay rate. The program will then calculate the gross pay, display the employee’s name, number of hours worked, pay rate, and gross pay. 2. Requirements Analysis Input Variables: 1. employeeName (string) 2. hoursWorked (real) 3. hourlyPayRate (real) Processes: 1. displayOpeningMessage 2. getInput 3. calculateGrossPay 4. displayOutput 5. displayTerminationMessage Output Variables: 1. grossPay (real) 2. employeeName (string) //both an input and output 3. hoursWorked (real) //both an input and output 4. hourlyPayRate (real) //both an input and output
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CIS115, Lab Solution CIS115 Week 1 Lab Solution (Pay Calculator, v1.0) Page 2 3. Design 3.1 Hierarchy Chart 3.2 Main Module Flow Chart Figure 1:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

CIS115 Week 2 Lab Solution - 1. Problem Description (v1.0)...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online