1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

how can i solve this problem?

Discussion in 'C++' started by cuteyginx, Aug 29, 2010.

  1. cuteyginx

    cuteyginx New Member

    Joined:
    Aug 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    can you help me out in solving this problem... i'm in my 1st year college with the course of info tech... i'm having problems on solving this..

    develop a program that will dtermine the gross pay for each of several employees. the company pays " straight time" for the first 40 hrs worked by each employee and pays "time and a half" for all hrs worked in excess of 40 hrs. you are given a list of the employees of the company, the number of hours each emplotyee worked last week and the hourly rate of each employee. your program should input this information for each employee. display the employee's gross pay..


    EXAMPLE :
    ENTER NUMBER OF HOURS WORKED : 39
    ENTER HOURLY RATE OF THE WORKER: 10.00
    SALARY is $390.00
     

Share This Page