Question: #include using std::cout; using std::cin; using std::endl; //Class Employee //Employee(string fname,stringlname,int salary) //setFirstName(fname); //setLastName(lname); //netMonthlySalary(salary); // //setFirstName(string fname) //first_name = fname: // //setLastName(string lname) //last_name

#include using std::cout; using std::cin; using std::endl;

//Class Employee

//Employee(string fname,stringlname,int salary) //setFirstName(fname); //setLastName(lname); //netMonthlySalary(salary); // //setFirstName(string fname) //first_name = fname: // //setLastName(string lname)

//last_name = lname; // //setMonthlySalary(int salary)

// if (salary <= 0) // salary = 0; // if (salary > 0) // monthly_salary = salary;

//private: string first_name; //string last_name;

// //int main() // // int yearly_salary; // int salary_raise; // int revised_salary; // Employee employeeA("AAA" , "NNN",1000); // Employee employeeB("SSS", "QQQ",1500); // cout<< "Employee-A Full Name : " << employeeA.getFirstName(); // cout << "' << employeeA.getLastName()< // cout << "Employee-A Yearly Salary : " << employeeA.getMonthlySalary() <

// cout << " "; // cout << "Employee-B Full Name : " << employeeB.getFirstName(); // cout << " " << employeeA.getLastName()< // cout << "Employee-A Yearly Salary : " <

//cout << " "; // yearly_salary = 12 * employeeA.getMonthlySalary(); //cout << "Employee-A Yearly Salary : " << yearly_salary << edl;

//yearly_salry = 12 * employeeB.getMonthlySalary(); //cout << "Employee_B Yearly Salary : " << yearly_salary << endl;

//cout << " "; //salary_raise = (10* employeeA.getMonthlySalary() ) / 100; //revised_salary = (salary_raise + employeeA.getMonthlySalary() ) / 12; //employeeA.setMonthlySalary(revised_salary);

//cout << "Employee-A Revised Monthly Salary : " << //employeeA.getMonthlySalary()<

//salary_raise = ( 10 * employeeB.getMonthlySalary() ) / 100; //revised_salary = salary_raise + employeeB.getMonthlySalary(); //employeeB.setMonthlySalary(revised_salary); //cout << "Employee-B Revised Monthly Salary : " << yearly_salary; //return 0; //

#include "stdafx.h" need in c++ language with output can you help please need written right need execution etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!