C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 18th, 2012, 08:05 AM
cathygrg cathygrg is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 1 cathygrg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 20 m 33 sec
Reputation Power: 0
General - My home work please help

A company pays salary to its employees weekly as follows:
• Managers get fixed salary
• Hourly workers receive fixed hourly wage up to 44 hours and 1.5 times of the rate for overtime over and above 44 hours.
• Commission workers receive fixed salary of US 44,000 plus a commission at the rate of 6% of their gross weekly sales.
• Piece worker receive according to the number of pieces produced each worker only produce one type of piece.

Write a program to compute the weekly salary of the each employee. We do not know the strength of all employees however; each category of employee has got his own pay code.
Manager’s pay code is 1, hourly worker’s pay code 2, commission worker’s pay code 3, and piece worker’s pay code 4. Use switch to compute the salary of each employee code. Within a switch prompt the user to enter the necessary information of the employee whose salary is to be computed.

Reply With Quote
  #2  
Old November 19th, 2012, 01:20 AM
lugocottewd lugocottewd is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Nov 2012
Posts: 6 lugocottewd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 31 sec
Reputation Power: 0
I know exactly how you can update multiple c



olumns in a row.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > General - My home work please help


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2003-2014 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap