Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. help me

help me

Scheduled Pinned Locked Moved C / C++ / MFC
helpcareer
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member_15128932
    wrote on last edited by
    #1

    hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.

    L CPalliniC 2 Replies Last reply
    0
    • M Member_15128932

      hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Member 15128932 wrote:

      I need help

      Then you need to explain exactly what help you need. If you expect someone to do your work for you, I am afraid you have come to the wrong place. This site is here to help with code that you write.

      1 Reply Last reply
      0
      • M Member_15128932

        hello I need help Create a class Employee that includes: 1. Three instance variables: a Name(type string), HireYear(type integer), and a monthly Salary (type double) . 2. A constructor that initializes the three instance variables . 3. Public methods : a. Set and Get for each instance variable. If the monthly salary is not positive, do not set its value . b. GetEmployeeInfo: returns a string contains the employee name, hire year, and his/her monthly salary.

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #3

        So..., start coding. And post here specific questions when you're stuck.

        "In testa che avete, Signor di Ceprano?" -- Rigoletto

        In testa che avete, signor di Ceprano?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups