Question #283204

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


Expert's answer

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))
    

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!

LATEST TUTORIALS
APPROVED BY CLIENTS