Appendix G wk 3sequential selection

# Appendix G wk 3sequential selection - 1425.00 25 Prompt...

This preview shows pages 1–2. Sign up to view the full content.

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

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1425.00 25 % Prompt input range IF < \$1500.00 Then \$225.00 = taxes owed Else > 1500.00 = Sum > then 1500.00 * 16% = 225.00+ sum*.16 = T Taxes owed = T T DESIGN Prompt for salary amount Input salary Process salary bracket IT 210 Process total taxes due Display total taxes due TEST Prompt salary range Input salary S=salary B= base rate \$1500.00 S= \$1600.00 (S-B) = \$100.00 (100*.16 ) = \$16.00 Total taxes due = 225.00 + 16.00 Total taxes due = \$241.00 IT 210...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

Appendix G wk 3sequential selection - 1425.00 25 Prompt...

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

View Full Document
Ask a homework question - tutors are online