#include"employee.h"
#include"Engineer.h"
#include<vector>
int main(){
string s;
int v;
vector<employee> e;
cout << "Would you like to add an employee? ";
cin >> s;
if (s == "y"){
string ans; //Answer For which employee
cout << "Choose wisely my son: " << endl << "a) Engineer b) researcher" << endl;
cin >> ans;
if (ans == "a"){
cout << "You have choosen an engineer";
engineer eng;
cout << "How many days off does he get?";
cin >> v;
eng.SetVdays(v);
cout << "Does the engineer know Cpp? y or n";
cin >> s;
if (s == "y"){ eng.engineercpp(); }
else { cout << "He doesnt know cpp"; }
for (int i = 0; i < 100; i++){
e.push_back(eng);
}
}
if (ans == "b"){
cout << "You have choosen a reseacher";
}
else{ cout << "its a or b bro"; return main(); } //try to go back to the question instead..but later
cout << "Would you like to display the vector?";
cin >> s;
if (s == "y"){
for (int j = e.size; j>0; j--){
cout << e[j];
}
}
}