Answer to Question #305658 in Algorithms for Dr. Baafi

Question #305658

Part of the processing of the data is to calculate the amount of tax which needs to be paid.

 

. The person's total income for the year is input to the system

. The first $500 is not taxed

. The remainder is taxed at 10%

. Either the tax to be paid is output from the system OR a message is output to say there is no tax to pay

 

(a) Using ''I'' to stand for the total income and ''T'' to stand for the tax to be paid, produce an algorithm which will take I as its input and then calculate the tax.

(b) Explain why ''I'' and ''T'' are unsuitable as variable names and say how they can be improved.

(c) Describe how the algorithm can be used to calculate the tax for each person in the city without it having to be rerun.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS