Answer to Question #269911 in Python for Peaches

Question #269911

Write a program that calculates and prints

the take-home pay for a commissioned sales

employee. Allow the user to enter values for the

name of the employee and the sales amount


1
Expert's answer
2021-11-22T09:53:53-0500
name = input("Enter your name: ")
salary = int(input("Enter your salary in USD: "))


commission = salary*(0.07+0.18+0.15+0.09)


take_home_pay = salary - commission


print(take_home_pay)

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

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS