Computer Science, asked by sunilnanda0597, 6 months ago

write a python program to enter employee salary and experience if salary greater than 30000 and experience greater than 6 years they will get 20% bonus otherwise they will get 10% bonus and also find out bonus amount​

Answers

Answered by valeriy69
1

\small\mathsf\color{pink}{Solution\: using\: python\: 3}

salary, experience = [float(n) for n in input("enter salary and experience: ").split()]

if salary > 30000 and experience > 6:

print(f"bonus amount: {salary * .2}")

else:

print(f"bonus amount: {salary * .1}")

\small\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Similar questions