sample
Haven't found the Essay You Want?
For Only $12.90/page

It 210 Week 3 Checkpoint Tax Calculation Essay

NetSalary = GrossSalary – BaseTax – (GrossSalary – BaseSalary * AddlTax)
If GrossSalary > 0.00 < 1,500.00 Then
BaseTax = 0.00
BaseSalary = 0.00
AddlTax = (Gross Salary – BaseSalary) * 0.15
End if
If GrossSalary > 1,500.00 < 3,000.00 Then
BaseTax = 225.00
BaseSalary = 1,500.00
AddlTax = (Gross Salary – BaseSalary) * 0.16
End if
If GrossSalary > 3,000.00 < 5,000.00 Then
BaseTax = 465.00
BaseSalary = 3,000.00
AddlTax = (Gross Salary – BaseSalary) * 0.18
End if
If GrossSalary > 5,000.00 < 8,000.00 Then
BaseTax = 825.00
BaseSalary = 5,000.00
AddlTax = (Gross Salary – BaseSalary) * 0.20
End if
If GrossSalary > 8,000.00 < 15,000.00 Then
BaseTax = 1,425.00
BaseSalary = 8,000.00
AddlTax = (Gross Salary – BaseSalary) * 0.25
End if
If GrossSalary > 15,000.00 Then
BaseTax = 1,425.00
BaseSalary = 8,000.00
AddlTax = (Gross Salary – BaseSalary) * 0..25
End if
GrossSalary – BaseTax – (GrossSalary – BaseSalary * AddlTax) End CaclulateNetSalary Module

DisplayGrossSalaryBaseTaxAddlTaxNetSalary Module

Print “Employee Gross Pay, Tax and Net Pay Breakdown”
Print “Gross Salary” & GrossSalary
Print “Base Tax” & BaseTax
Print “Additional Tax” & AddlTax
Print “Net Salary” * NetSalary
End DisplayGrossSalaryBaseTaxAddlTaxNetSalary Module

Test Values

Input
Expected Output
Comments
Salary = 0.00
Tax = 0.00
Lowest salary in salary range 1
Salary = -1,000.00
Error Message
Out of range condition
Salary = 1,000.00
Tax = 150.00
Midrange salary in salary range 1
Salary= 1,499.99
Tax = 225.00
Highest salary in salary range 1
Salary = 1,500.00
Tax = 225.00
Lowest salary in salary range 2
Salary = 2,250.00
Tax = 345.00
Midrange salary in salary range 2
Salary = 2,999.99
Tax = 465.00
Highest salary in salary range 2
Salary = 3,000.00
Tax = 465.00
Lowest salary in salary range 3
Salary = 4,000.00
Tax = 645.00
Midrange salary in salary range 3
Salary = 4,999.99
Tax = 825.00
Highest salary in salary range 3
Salary = 5,000.00
Tax = 825.00
Lowest salary in salary range 4
Salary = 6,500.00
Tax = 1,095.00
Midrange salary in salary range 4
Salary = 7,999.99
Tax = 1,425.00
Highest salary in salary range 4
Salary = 8,000.00
Tax = 1,425.00
Lowest salary in salary range 5
Salary = 11,500.00
Tax = 2,300.00
Midrange salary in salary range 5
Salary = 14,999.99
Tax = 3,175.00
Highest salary in salary range 5
Salary = 15,000.00
Tax = 3,175.00
Salary that exceeds the highest salary in salary range 5 by 0.01 Salary = 100,000.00
Tax = 24,425.00
Salary that exceeds the highest salary in salary range 5


Essay Topics:


Sorry, but copying text is forbidden on this website. If you need this or any other sample, we can send it to you via email. Please, specify your valid email address

We can't stand spam as much as you do No, thanks. I prefer suffering on my own

Courtney from Study Moose

Hi there, would you like to get such a paper? How about receiving a customized one? Check it out https://goo.gl/3TYhaX