c program of define directive constant


Program of define directive constant to  Find Gross Salary

 A computer manufacturing company has the following monthly compensation policy to their sales-persons:

Minimum base salary                                 : 1500.00
Bonus for every computer sold                 : 200.00

Commission on the total monthly sales  : 2 per cent

Since the prices of computers are changing, the sales price of each computer is fixed at the beginning of every month.

write a c  program to compute a sales-person’s gross salary


solution of  example   c  program

OUTPUT of gross salary program of sales person

Input  number of sold and price

5

20450.00

Bonus                 = 1000.00

Commission     = 2045.00

Gross salary      = 4545.00

(Visited 36 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image