Answer:
Written using Python
name = input("Name: ")
print("1 for Full time and 2 for Part time")
status = int(input("Status: "))
sales = float(input("Sales Amount: "))
if status == 1:
commission = 0.04 * sales
else if status == 2:
commission = 0.02 * sales
print(name)
print(commission)
if status == 1 and sales>1000:
print("You have exceeded the sales quota!")
if status == 2 and sales>500:
print("You have exceeded the sales quota!")
Explanation:
I've added the full source code as an attachment where I used comments to explain some lines