subject

#ifndef _NONTECHNICAL_H #define _NONTECHNICAL_H
#include
using namespace std;
#include "employee. h"
// Q1a: Create Nontechnical class (5 points)
// Part 1: Create a child class of the Employee class named 'Nontechnical'
class Nontechnical : public Employee {
// Part2: Declare constructor which accepts the same 3 parameters as the parent class Employee's constructor.
// Pass the 3 parameters to the super constructor of the Employee class.
public:
Nontechnical(string empName, double salary, empType employeeType);
// Part 3: Re-declare the method displayEmployee (virtual method found inside of parent class Employee)
void displayEmployee();
}
#endif // _NONTECHNICAL_H#pragma once
#ifndef _TECHNICAL_H_
#define _TECHNICAL_H_
#include
using namespace std;
#include "employee. h"
// Q1b: Create Technical class (5 points)
// Part 1: Create a child class of the Employee class named 'Technical'
class Technical : public Employee {
// Part2: Declare constructor which accepts the same 3 parameters as the parent class Employee's constructor.
// Pass the 3 parameters to the super constructor of the Employee class.
public:
Technical(string empName, double salary, empType employeeType);
// Part 3: Re-declare the method displayEmployee (virtual method found inside of parent class Employee)
void displayEmployee();
}
#endif // _TECHNICAL_H_

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 18:00, kimmosley80
Which if the following allows you to view and access important information about your documents all in one location
Answers: 3
image
Computers and Technology, 22.06.2019 21:00, jennifer7037
Ulia is planning to attend the same private four-year college her parents attended. she wants to save at least $18,000 in four years to contribute to her college education. which monthly deposit amounts can julia use to achieve her goal? check all that apply.
Answers: 2
image
Computers and Technology, 23.06.2019 00:10, witerose701
Write a function so that the main0 code below can be replaced by the simpler code that calls function mphandminutes tomiles0. original main0 int main) l double milesperhour-70.0; double minutestraveled = 100.0; double hourstraveled; double milestraveled; hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; cout < "miles" 2 using namespace std; 4 /* your solution goes here/ 6 int maino 1 test passed 7 double milesperhour 70.0 all tests passed 8 double minutestraveled 100.0; 10 cout < < "miles: " < < mphandminutestomiles(milesper-hour, minutestraveled) < < endl; 12 return 0; 13
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, devnnn44
What is the original authority for copyright laws
Answers: 1
You know the right answer?
#ifndef _NONTECHNICAL_H #define _NONTECHNICAL_H
#include
using namespace std;
#i...

Questions in other subjects:

Konu
Mathematics, 13.08.2019 01:20