[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