Submitted by: Submitted by tgirl45
Views: 1164
Words: 1441
Pages: 6
Category: Science and Technology
Date Submitted: 06/22/2012 05:05 PM
Week Three CheckPoint
Tamara Smith
IT/210
June 8, 2012
Tim Held
Week Three CheckPoint
Design a program
Application-Level Requirements List
1. The program will present a user screen that prompts the user for specified input.
2. The main user screen will have a title.
3. The main user screen shall have a description telling the user what the program does.
4. The calculation of the tax due shall be executed only after all valid input values are provided.
5. The program shall allow the user to clear all input fields and recomplete the calculation.
Input-Process-Output Chart
Input | Process | Output |
Salary Amount: | | Display menu. | Name: Type: Range: | SalaryAmount Real 1-14,999.99 |
Name: Type: Range: | SalaryAmount Real 1-14,999.99 | Get base tax dollars. | Name: Type: Range: | BaseTaxDollars Real 0-1425.00 |
Name: Type: Range: | SalaryAmount Real 1-14,999.99 | Get excess salary. | Name: Type: Range: | ExcessSalary Real > 0 |
Name: Type: Range: | SalaryAmount Real 1-14,999.99 | Get percentage rate | Name: Type: Range: | PercentageRate Real > 0 |
Name: Type: Range: Name: Type: Range: | ExcessSalary Real >0 PercentageRate Real >0 | Get percent of excess salary. | Name: Type: Range: | PercentofExcessSalary Real > 0 |
Name: Type: Range: Name: Type: Range: | BaseTaxDollars Real 0-1425.00 PercentofExcessSalary Real 0>0 | Display results. | Name: Type: Range: | TaxDue Real >0 |
Analysis
Process:
1. Display a program title.
2. Prompt for the salary amount.
3. Display salary bracket.
4. Display base tax in dollars.
5. Display tax percent rate.
6. Subtract $1,500.00 from the salary amount greater than $1,499.99.
7. Multiply the excess salary by the tax percent rate.
8. Add the base tax in dollars to the percent of excess salary.
9. Display salary amount and tax due.
Input:...