Associate Program Material Appendix G consequent and weft Process Control Structure In the pastime example, the gage line of the table specifies that tax due on a allowance of $2,000.00 is $225.00 plus 16% of excess salary everyplace $1,500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00. | net income cat in Dollars| Base Tax in Dollars| percentage of extravagance| 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 %| MainModule produce First prognosticate as string obligate LastName as string take requitalAmt as real Declare TotalTax as real Declare superfluous as real Declare Salary as real Declare Re bout as string turn to input signalDataModule natter SalaryRangeModule Call Salary1Module Call Salary2Module Call Salary3Modu le Call Salary4Module Call Salary5Module Call OutputModule revoke Program InputDataModule drop a line, First Name Input FirstName Write, Last Name Input LastName Write, Employees Salary ($0.00-$14,999.

99) Input SalaryAmt SalaryRangeModule If SalaryAmt < 1,500 therefore Call Salary1Module Else If SalaryAmt >= 1,500 And SalaryAmt < 3,000 past Call Salary2Module Else If SalaryAmt >= 3,000 And SalaryAmt < 5,000 past Call Salary3Module Else If SalaryAmt >= 5,000 And SalaryAmt < 8,000 Then Call Salary4Module Else If SalaryAmt >= 8,000 And SalaryAmt < 15,000 Then Call Salary5Module Else Write Incorrect Amount Call InputData Module Salary1Module set out TotalTax! = SalaryAmt * .15 do Salary = SalaryAmt TotalTax Call OutputResultsModule Salary2Module implant pointless = SalaryAmt 1,500 Set TotalTax = Excess * .16 + 225 Set Salary = SalaryAmt TotalTax Call OutputResultsModule Salary3Module Set Excess = SalaryAmt 3,000 Set TotalTax = Excess * .18 + 465...If you want to get a skilful essay, ordination it on our website:
OrderEssay.netIf you want to get a full information about our service, visit our page:
write my essay
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.