Question: Develop an algorithm for the following problem statement. Your solution should be a modularised pseudocode with an appropriate comments. Assume all data from the file

Develop an algorithm for the following problem statement. Your solution should be a modularised pseudocode with an appropriate comments. Assume all data from the file is valid. Develop an algorithm for a program that prompts the user for anannual salary and then calculate the amount oftax that should be paid. The tax rate that applies is shown in the table below. Annual Salary Tax 0-$19,500 Nil $19,501 - $39,000 50c for every $5 over $19,500 $39,001 - $100,000 $2,253 plus 68c for every $2 over $30,000 $100,001 - $190,000 $17,525 plus 50c for each $2 over $100,000 Over $190,000 $41,090 plus 70c for each $2 over $190,000 If an invalid annual salary has been entered (negative or zero), then the user should be asked to re-enter the annual salary again. The annual salary and the amount oftaxshould be displayed tothe screen with appropriate messages
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
