Answer to Question #283204 in Python for ykcud cipe

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


1
Expert's answer
2021-12-28T10:03:54-0500
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!

Comments

Eric
20.06.24, 00:41

Nice work

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS