STEP 1: Understand the UML DiagramThe only change to the Employee class is that there is a new attribute:+benefit :

Please help me with the attached assignment.

This required to be done in C++.

STEP 1: Understand the UML DiagramThe only change to the Employee class is that there is a new attribute:+benefit : BenefitNotice that there is a “+” for this attribute, meaning that it is public. Make sure to examine the multi-arg constructor’s signature!Also, the dotted directed line between Employee and iEmployee specifies that the Employee classmust implement the iEmployee abstract class, and thus provide an implementation for thecalculatePay method.
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Understand the UML DiagramNotice the change in UML diagram.

Please help me with the attached assignment.

This required to be done in C++.

STEP 1: Understand the UML DiagramNotice the change in UML diagram. It is common practice to leave out the accessors and mutators(getters and setters) from UML class diagrams, since there can be so many of them. Unless otherwisespecified, it isassumedthat there is an accessor (getter) and a mutator (setter) for every class attribute.STEP 2: Create the ProjectCreate a new project and name it CIS247C_WK5_Lab.STEP 3: Modify the Employee Class1.Using the updated Employee class diagram, modify the attributes to be protected.2.Delete the iEmployee interface class, and remove the reference from the Employee class.
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Scenario/SummaryWe have two separate goals this week:1

Please help me with the attached assignment.

This required to be done in C++.

Scenario/SummaryWe have two separate goals this week:1. We are going to create an abstract Employee class and two pure virtual functions – calculatePay() anddisplayEmployee(). The abstract Employee class will prevent a programmer from creating an objectbased on Employee, however, a pointer can still be created. Objects based on Salaried and Hourly willbe allowed. The pure virtual function calculatePay() in Employee will force the child classes toimplement calculatePay(). The other pure virtual function displayEmployee() in Employee will force thechild classes to implement displayEmployee().2. We are going to implement Polymorphism and dynamic binding in this iLab.STEP 1: Understand the UML DiagramNotice in the updated UML diagram that the Employee class is designated asabstractby having the classnameEmployeeitalicized. Also, thecalculatePaymethod is italicized, which means that it is a pure virtualfunction and needs to be implemented in the derived classes. In addition, make displayEmployee() method apure virtual function as well.
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"

Add the ability to save data to disk in one or more files. The menu(s) should give the user the option to save or retrieve data.

HI LAST WEEK YOU HELPED ME ADD ARRAYS TO MY PROGRAM AND THIS WEEK I NEED HELP ADDING A SAVE OPTION IN MY EXISTING

PROGRAM.

Add the ability to save data to disk in one or more files. The menu(s) should give the user the option to save or retrieve data.

Add the ability to save data to disk in one or more files. The menu(s) should give the user the option to save or retrieve data.#include <iostream>using namespace std;int getChoice() {int choice;//validate user input in a loopwhile(true) {cin >> choice;if(choice < 1 || choice > 2) {cout << “Menu” << endl;cout << “1. Check movies, their Tme and gate\n2. Exit\n”;} else {break;}}return choice;}int getGateNo() {
Background image of page 1
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"