Python program to calculate sales man salary

0
45
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

 

 

 

Python program to calculate sales man salary write a program to calculate sales man salary in python write a program to calculate sales man salary program of calculate sales man salary sales man salary program in python sales man salary program

LEAVE A REPLY

Please enter your comment!
Please enter your name here