Write a ‘C’ program to calculate and display the monthly income of a salesperson

Write a ‘C’ program to calculate and display the monthly income of a salesperson
corresponding to the value of monthly sales input in the scanf() function, let us consider
the following commission schedule: (Note: use if-else statement)
Monthly Sales Income
Greater than or equal to Rs.50,000 375 plus 16% of sales
Less than Rs. 50,000 but
Greater than or equal to Rs. 40,000 350 plus 14% of sales
Less than Rs. 40,000 but
Greater than or equal to Rs. 30,000 325 plus 12% of sales
Less than Rs. 30,000 but
Greater than or equal to Rs. 20,000 300 plus 9% of sales
Less than Rs. 20,000 but
Greater than or equal to Rs. 10,000 250 plus 5% of sales
Less than Rs. 10,000 200 plus 3% of sales



Leave a Reply