GIDForums  

Go Back   GIDForums > Computer Programming Forums > CPP / C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 06-Apr-2007, 09:12
tootoo tootoo is offline
New Member
 
Join Date: Apr 2007
Posts: 4
tootoo is an unknown quantity at this point

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



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  
Old 06-Apr-2007, 23:13
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,234
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all

Re: compute the monthly salary


That's a very good project. It will teach you a lot. But you should really read this about gets(), you're going to need it.

Also, the Guidelines that you have ignored up to this point should be read, too.
__________________

Cow: You're a lawyer too?
Mooseblood (mosquito): Ma'am, I was already a bloodsucking parasite. All I needed was a briefcase!
 

Recent GIDBlogLast Week of IA Training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Monthly Minimums on Merchant Accounts omupas eCommerce / Merchant Account Forum 0 12-Mar-2007 12:34
FREE cPanel/Fantastico HOSTING - 99.9% UPTIME - NO ADS - NO MONTHLY POSTING!,INSTANT bypass4all.com Free Web Hosting 0 27-Dec-2006 16:05
Get 50MB Hosting with 1500MB Monthly Transfer at Rs.225 ($4.99) per year classikhost Web Hosting Advertisements & Offers 0 25-Oct-2006 12:34
a tester class and then some. postage Java Forum 1 06-May-2006 15:48

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 06:22.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.