0
print "Enter quantity" quantity = input() if quantity*100 > 1000: print "Cost is",((quantity*100)-(.1*quantity*100)) else: p
Python code
3 ответов
0
A company decided to give bonus of 5% to employee if his/her year of service is more than 5 years. Ask user for their salary and year of service and print the net bonus amount.
solve in python
+ 1
Your question is incomplete. Please link your code in the description and describe more about your question.
+ 1
Siva,
Please use Python as the thread's tag rather than 'gwss' which is irrelevant.
Why your "code" is asking for quantity when it is supposed to ask for employee's salary and year of service?
Please follow this guide for posting a question so you can obtain better responses 👍
https://www.sololearn.com/Discuss/333866/?ref=app