qty=int(input("Please enter qty: ")) price=float(input("Please enter price: ")) amount=qty*price; sal=amount*0.20+1000; # 20 % bonus and 1000 Rs fixed print(" Total amount =",amount); print(" Total salary =",sal);Output:Please enter qty: 90 Please enter price: 50 Total amount = 4500.0 Total salary = 1900.0