Printf("Gross salary = %6.2f\n", gross_salary) Printf("Commission = %6.2f\n", commission) Gross_salary = BASE_SALARY bonus commission Printf("Input number sold and price\n") Ĭommission = COMMISSION * quantity * price A program to compute a salesman gross salary is given. Since the prices of products are changing, the sales price of each product is fixed at the beginning of every month. C Program to Calculate Bonus, Commission and Gross Salary For below example product manufacturing company has the following monthly compensation policy to their salespersons to increase the sales figures, we can declare Minimum base salary : 1500.00, Bonus for every product sold 200.00 and Commission on the total monthly sales : 2 per cent as per company policy. In this article, we will explain you, How to write a C Program to Calculate Bonus, Commission and Gross Salary of an Employee with an example.Įvery company have some norms to calculate Bonus, Commission and Gross Salary for every sales person.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |