Lab - Classes and Objects - Lab 1

 Objective

Write a class named Employee that has the following fields:

 

Program User prompts:

  1. Employee information from the user for one instance of the Employee

Program outputs

  1. Data for the employees

Program Notes:

  • Use getters/setters for all of the attributes.

  • For the output, you can create a method within the class to output the information. Please be sure to use appropriate labels.

  • Please identify variables with the names indicated above

  • You must include a header and implementation file (separate files) for your class

 Requirements

Create 1 Object of Employee populating the data via a five-argument constructor (User input)

Deliverable

Upload the following:

  1. Full source code (.cpp file or .txt file)

  2. Screenshot of the Console with the code executing

2024 - Programming 3 / Data Structures - Author: Dr. Kevin Roark