Thursday, June 6, 2019
It 210 Week 3 Checkpoint Tax Calculation Essay Example for Free
It 210 Week 3 Checkpoint task Calculation Essay make requital = uncouth compensation Base revenue enhancement (Gross net BaseSalary * Addl evaluate)If GrossSalary 0.00 1,500.00 ThenBase evaluate = 0.00BaseSalary = 0.00AddlTax = (Gross Salary BaseSalary) * 0. 15End ifIf GrossSalary 1,500.00 3,000.00 ThenBaseTax = 225.00BaseSalary = 1,500.00AddlTax = (Gross Salary BaseSalary) * 0.16End ifIf GrossSalary 3,000.00 5,000.00 ThenBaseTax = 465.00BaseSalary = 3,000.00AddlTax = (Gross Salary BaseSalary) * 0.18End ifIf GrossSalary 5,000.00 8,000.00 ThenBaseTax = 825.00BaseSalary = 5,000.00AddlTax = (Gross Salary BaseSalary) * 0.20End ifIf GrossSalary 8,000.00 15,000.00 ThenBaseTax = 1,425.00BaseSalary = 8,000.00AddlTax = (Gross Salary BaseSalary) * 0.25End ifIf GrossSalary 15,000.00 ThenBaseTax = 1,425.00BaseSalary = 8,000.00AddlTax = (Gross Salary BaseSalary) * 0..25End ifGrossSalary BaseTax (GrossSalary BaseSalary * AddlTax) End CaclulateNetSalary ModuleDisplayGro ssSalaryBaseTaxAddlTaxNetSalary ModulePrint Employee Gross Pay, Tax and Net Pay BreakdownPrint Gross Salary GrossSalaryPrint Base Tax BaseTaxPrint Additional Tax AddlTaxPrint Net Salary * NetSalaryEnd DisplayGrossSalaryBaseTaxAddlTaxNetSalary ModuleTest ValuesInputExpected OutputCommentsSalary = 0.00Tax = 0.00 low stipend in salary set off 1Salary = -1,000.00Error MessageOut of range conditionSalary = 1,000.00Tax = 150.00Midrange salary in salary range 1Salary= 1,499.99Tax = 225.00Highest salary in salary range 1Salary = 1,500.00Tax = 225.00Lowest salary in salary range 2Salary = 2,250.00Tax = 345.00Midrange salary in salary range 2Salary = 2,999.99Tax = 465.00Highest salary in salary range 2Salary = 3,000.00Tax = 465.00Lowest salary in salary range 3Salary = 4,000.00Tax = 645.00Midrange salary in salary range 3Salary = 4,999.99Tax = 825.00Highest salary in salary range 3Salary = 5,000.00Tax = 825.00Lowest salary in salary range 4Salary = 6,500.00Tax = 1,095.00Midrange salary i n salary range 4Salary = 7,999.99Tax = 1,425.00Highest salary in salary range 4Salary = 8,000.00Tax = 1,425.00Lowest salary in salary range 5Salary = 11,500.00Tax = 2,300.00Midrange salary in salary range 5Salary = 14,999.99Tax = 3,175.00Highest salary in salary range 5Salary = 15,000.00Tax = 3,175.00Salary that exceeds the highest salary in salary range 5 by 0.01 Salary = 100,000.00Tax = 24,425.00Salary that exceeds the highest salary in salary range 5
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.