Find Jobs
Hire Freelancers

Class Design

$30-5000 USD

Completed
Posted over 22 years ago

$30-5000 USD

Paid on delivery
Design a class named Employee. The class should keep the information in member variables: 1. Employee name. 2. Social security Number, in the format XXX-XXX-XXX, where each X is a digit within the range 0-9. 3. Employee number, in the format XXX-L, where each X ia a digit within the range 0-9, and the L is a letter within the eange A-M. Add a constructor, destructor and other appropriate member functions to the class. The constructor should dynamically allocate enough memory to hold the employee's name and the destructor should free the unused memory. Nexr, design a class named EmployeePay. This classshould be derived from the Employee class (Inheritance. It should keep the following information in member variables. 1. Annual pay. 2. Monthly Pay. 3. Dependents (the number of dependents the employee claims). Demonstrate the class in a program that asks the user to enter sample data, the display it to the screen. INPUT VALIDATION: Only accept valid Social Security numbers (as described above). Do not accept negative values for annual pay or the number of dependents) ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. * Must compile and run. * must be coded in C++. * must use comments.
Project ID: 2831932

About the project

10 proposals
Remote project
Active 23 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 14 days
4.2 (12 reviews)
2.1
2.1
10 freelancers are bidding on average $30 USD for this job
User Avatar
See private message.
$42.50 USD in 14 days
4.6 (60 reviews)
4.5
4.5
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (17 reviews)
3.2
3.2
User Avatar
See private message.
$6.80 USD in 14 days
4.7 (32 reviews)
3.3
3.3
User Avatar
See private message.
$5.95 USD in 14 days
4.8 (21 reviews)
3.2
3.2
User Avatar
See private message.
$21.25 USD in 14 days
5.0 (2 reviews)
2.5
2.5
User Avatar
See private message.
$30.60 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$85 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$63.75 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$17 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
United States
5.0
17
Member since Nov 14, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.