compute the weekly pay for each employee and then total weekly salaries

This is a discussion on compute the weekly pay for each employee and then total weekly salaries within the C++ Programming forums, part of the General Programming Boards category; Hey guys! Please help me to write this software is C++ . thanks -------- A company pays its employees as ...

  1. #1
    cpn
    cpn is offline
    Registered User
    Join Date
    Dec 2012
    Posts
    3

    compute the weekly pay for each employee and then total weekly salaries

    Hey guys! Please help me to write this software is C++ . thanks
    --------
    A company pays its employees as managers (who receive a fixed weekly salary), hourly workers (who receive a fixed hourly wage for up to the first 30 hours they work and "time-and-half"- 1.5 times their hourly wage - for overtime hours worked), commission workers (who receive 250$ plus 5.7 percent of their gross weekly sales), or pieceworkers (who receive a fixed amount of money per item for each of the items they produce-each pieceworker in this company works on only one type of item). Write a program to compute the weekly pay for each employee and then total weekly salaries. You don't know the number of the employees in advance. Each type of employee has its own pay code: Managers have code 1, hourly workers have code 2, commission workers have code 3and pieceworkers have code 4.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,271
    What have you tried?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    cpn
    cpn is offline
    Registered User
    Join Date
    Dec 2012
    Posts
    3
    I tried but difficult for me. Can you give some ideas ?
    Last edited by cpn; 12-06-2012 at 10:03 AM.

  4. #4
    Registered User
    Join Date
    Oct 2006
    Posts
    2,588
    what laserlight was getting at is that we want you to show us what you have tried. we're not just going to give you the answer. we need to know exactly which part is giving you trouble. if you don't know C++ because you haven't paid attention in class, then we really can't help you with that.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [HELP] Program to compute for Employee's daily wage
    By Kipper DeVera in forum C++ Programming
    Replies: 2
    Last Post: 09-19-2011, 11:05 PM
  2. weekly wage calculator
    By brian75 in forum C++ Programming
    Replies: 17
    Last Post: 01-12-2010, 09:50 PM
  3. Average salaries for Programmers
    By Betta in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-16-2005, 06:53 AM
  4. my weekly schedule
    By ober in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 09-04-2002, 11:00 AM
  5. Weekly Programming Contest
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 04-09-2002, 11:52 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21