A Program to Compute The pay of employees as entered by the user

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dharnE
    New Member
    • Oct 2007
    • 3

    A Program to Compute The pay of employees as entered by the user

    I'm Hoping that this Problem will answer.The Problem is"Create A Program to compute the pay of employees as entered by the user using function statement" Sample Output:
    Enter Number of Employees:3
    Hours:50
    Rate:5.25
    Pays:262.50
    ------------------------------
    Hours:6
    Rate:5.00
    Pays:30.00
    ------------------------------
    Hours:15
    Rate:7.00
    Pay:105.00
    ------------------------------
    Total Payroll is:397.50

    The explaination of this,is everytime we entered number for example number three or 3 it will display 3 hours.3 rate and 3 pays.so looping is applied in the word "enter number of employee,.the pays there is the product of the hours and the rate and the total payroll is the sum of the 3 pays..i hope you will anwer this using the function statement in Turbo C..you can also use user-defined if necessary,,use function call and function prototype.Thank you...God bless
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    The experts on this site are more than happy to help you with your problems but they cannot do your assignment/program for you. Attempt the assignment/program yourself first and post questions regarding any difficulties you have or about a particular function of the code that you don't know how to achieve.

    Please read the Posting Guidelines and particularly the Coursework Posting Guidelines.

    Then when you are ready post a new question in this thread.

    Banfa
    Administrator

    Comment

    Working...