Draw a flowchart and construct a python program to accept the monthly income of an employee and display the income tax to be paid at the end of the year according to the following criteria
annual income(in rs) tax
>1000000 4%
> 500000 2%
<= 500000 NIL
n = int(input('Enter your monthly income here: '))
if n >= 1000000:
print('Your income tax is {}'.format(0.04*n))
elif n >= 500000:
print('Your income tax is {}'.format(0.02*n))
else:
print('Your income tax is {}'.format(0))
Comments
Nice work
Leave a comment