Thread: compute the monthly salary

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    3

    Question compute the monthly salary

    The owner of a small Advertising Agency has three employees. These employees get 50 USD for one working hour. They get 500 USD allowance for any good deal they gain. The owner needs a program to help him to compute his employees’ salaries. As you know, you have learned until now some programming techniques that make you able to build this program. Therefore write a program that allow the user to enter the following information (employee name, daily working hours, the amount of the allowance, absent days)
    The program should compute the monthly salary for each employee and display it in a table form
    The output might look like

    http://imagecloset.com/uimages/rgh1175871278r.jpg

    Note: The program must read the information for the three employees Read the employee name using either the gets() or the cin.getline statement

  2. #2
    Lean Mean Coding Machine KONI's Avatar
    Join Date
    Mar 2007
    Location
    Luxembourg, Europe
    Posts
    444

  3. #3
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    Ban him.
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  4. #4
    The larch
    Join Date
    May 2006
    Posts
    3,573
    May-be there could be a thread with all these homework questions? Some people have asked where to find programming exercises.

  5. #5
    Registered User
    Join Date
    Nov 2006
    Posts
    86
    Quote Originally Posted by anon View Post
    May-be there could be a thread with all these homework questions? Some people have asked where to find programming exercises.
    EXCELLENT IDEA!!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. program for finding gross salary
    By newbcore in forum C Programming
    Replies: 7
    Last Post: 12-05-2008, 06:23 PM
  2. Find max profit among input salary
    By hlam in forum C Programming
    Replies: 8
    Last Post: 11-16-2008, 10:30 AM
  3. help me!!
    By lilmiss in forum C Programming
    Replies: 6
    Last Post: 09-23-2008, 04:51 PM
  4. Salary Range Calculator help please!! =(
    By bambino in forum C++ Programming
    Replies: 3
    Last Post: 04-20-2006, 06:17 PM
  5. salary program heeeeeeeelp....
    By juan in forum C Programming
    Replies: 1
    Last Post: 02-09-2002, 12:55 PM