Asked by ibnu chairul akbar
[Help me to solve this question]
Regarding the following problems, you are asked to make a pseudocode for calculating income tax with the following conditions:
Input:
Numeric in the form of numbers> = 0
If the input is something other than that then an error message will appear
Process :
Perform progressive calculations with a recursive iteration process.
Calculation provisions
<50,000,000 5%
50,000,000 - 250,000,000 15%
250,000,000 - 500,000,000 25%
> 500,000,000 30%
Example calculation for input numbers: 434,567,890
5% * 50,000,000 = 2,500,000
15% * 200,000,000 = 30,000,000
25% * 184567890 = 46,141,973
30% * 0 = 0
78,641,973
Output:
Calculation results
Regarding the following problems, you are asked to make a pseudocode for calculating income tax with the following conditions:
Input:
Numeric in the form of numbers> = 0
If the input is something other than that then an error message will appear
Process :
Perform progressive calculations with a recursive iteration process.
Calculation provisions
<50,000,000 5%
50,000,000 - 250,000,000 15%
250,000,000 - 500,000,000 25%
> 500,000,000 30%
Example calculation for input numbers: 434,567,890
5% * 50,000,000 = 2,500,000
15% * 200,000,000 = 30,000,000
25% * 184567890 = 46,141,973
30% * 0 = 0
78,641,973
Output:
Calculation results
Answers
There are no human answers yet.
There are no AI answers yet. The ability to request AI answers is coming soon!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.