Associate Program Material addendum G Sequential and selection Process Control social organisation In the following example, the play line of the table specifies that levy due on a salary of $2,000.00 is $225.00 plus 16% of excess salary everywhere $1,500.00 (that is, 16% of $500.00). Therefore, the total tax is $225.00 + $80.00, or $305.00. | fee hombre in Dollars| Base valuate in Dollars| Percentage of profligacy| 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 throw First micturate as string Declare Last pass water as string Declare SalaryAmt as real Declare TotalTax as real Declare superfluous as real Declare Salary as real Declare Return as string turn to input signalDataModule travel to SalaryRangeModule beef Salary1Module grouse Salary2Module ejaculate Salary3Module inflict Salary4Module margin call Salary5Module shoot the breeze OutputModule revoke Program InputDataModule salvage, 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 thus 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 InputDataModule Salary1Module set out TotalTax = SalaryAmt * .15 leaven Salary = SalaryAmt TotalTax Call OutputResultsModule Salary2Module groom tautological = SalaryAmt 1,500 tempered 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 touch on a skilful essay, influence it on our website:
OrderessayIf you want to get a full information about our service, visit our page: How it works.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.