Steven_Barry_Week3 Assignment

Steven_Barry_Week3 - Axia College Material Appendix G Sequential and Selection Process Control Structure In the following example the second line

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

View Full Document Right Arrow Icon
Axia College Material Appendix G Sequential and Selection Process Control Structure In the following example, the second line of the table specifies that tax due on a salary of $2000.00 is $225.00 plus 16% of excess salary over $1500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00. Salary Range in Dollars Base Tax in Dollars Percentage of Excess 1 . 1 0.00-1,499.99 0.00 15 % 2 . 2 1,500.00-2,999.99 225.00 16 % 3 . 3 3,000.00-4,999.99 465.00 18 % 4 . 4 5,000.00-7,999.99 825.00 20 % 5 . 5 8,000.00-14,999.99 1425.00 25 % Main Module Call Input Data Module Call Base Tax Module Call Tax Percentage Module Call Total Tax Module Call Display Wage Module End Main module Input Data Module Declare Salary as real Write “Please Enter employee’s salary” Input Salary If Salary<0 and Salary>15000.00 Then Write “ Tax for the salary cannot be computed” IT 210
Background image of page 1

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

View Full DocumentRight Arrow Icon
EndIf End Input Data Module Base Tax Module Declare baseTax as real If Salary>0.00 and Salary<1499.99 then
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.

This note was uploaded on 01/15/2012 for the course IT 210 210 taught by Professor Professory during the Spring '10 term at University of Phoenix.

Page1 / 3

Steven_Barry_Week3 - Axia College Material Appendix G Sequential and Selection Process Control Structure In the following example the second line

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