How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask LogicPro Your Own Question

LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12563
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Part1 Write a class named Employee that has the following

This answer was rated:

Part1
Write a class named Employee that has the following member variables:

name. A string that holds the employee’s name.
idNumber. An int variable that holds the employee’s ID number.
department. A string that holds the name of the department where the employee works.
position. A string that holds the employee’s job title.

The class should have the following constructors:

A constructor that accepts the following values as arguments and assigns them to the appropriate member variables: employee’s name, employee’s ID number, department, and position.
A constructor that accepts the following values as arguments and assigns them to the appropriate member variables: employee’s name and ID number. The department and position fields should be assigned an empty string (“ “);
A default constructor that assigns empty strings (“ “) to the name, department, and position member variables, and 0 to the idNumber member variable.

Write appropriate mutator functions that store values in these member variables and accessor functions that return the values in these member variables. Once you have written the class, create a three Employee objects (3 separate instances), in your main function, to hold the following data:
Name ID Number Department Position

Susan Meyers 47899 Accounting Vice President

XXXXX XXXXX 39119 IT Programmer

Joy Rogers 81774 Manufacturing Engineer



Do NOT use inline member functions for the three constructors mentioned.
 You need to submit the following files:
1. Employee.h: Specification for class should be in this .h file
2. Employee.cpp: Member function implementations of the three constructors should be in this .cpp file
3. Employee_Demo.cpp: You also need to write a separate program to test the class. In other words, main() is here.

Part2
Design a class that stores a temperature in a temperature field and has the appropriate accessor and mutator methods
for the field. In addition to appropriate constructors, the class should have the following methods:
- isEthylFreezing - This method should return the boolean
value true if the temperature stored
in the temperature field is at or
below the freezing point of ethyl
alcohol. Otherwise, the method
should return false.
- isEthylBoiling - This method should return the boolean
value true if the temperature stored
in the temperature field is at or
above the boiling point of ethyl
alcohol. Otherwise, the method should
return false.
- isOxygenFreezing - This method should return the boolean
value true if the temperature stored
in the temperature field is at or below
the freezing point of oxygen.Otherwise,
the method should return false.
- isOxygenBoiling - This method should return the boolean
value true if the temperature stored in
temperature field is at or above the
boiling point of oxygen. Otherwise, the
method should return false.
- isWaterFreezing - This method should return the boolean
value true if the temperature stored
in the temperature field is at or below
the freezing point of water.Otherwise,
the method should return false.
- isWaterBoiling - This methodshould return the boolean
value true if the temperature stored
in the temperature field is at or above
the boiling point of water. Otherwise,
the method should return false.
Substance----------Freezingpoint----------boilingpoint
Ethyl Alcoho______-173____________172
Oxygen__________-362_____________-306
Water____________32______________212
Write a program that demonstrate the class. The program should ask the user to enter a temperature and then display a list of the substance that will freeze at that temperature and those that will boil at that temperature For example, if the temperature is -20 the class should report that water will freeze and oxygen will boil at that temperature.
Use inline member functions for all the method functions mentioned.
 You need to submit the following files:
1. FreezeBoil.h: Specification (and inline member functions) for class should be in this .h file
2. FreezeBoil_Demo.cpp : You need to write a separate program to test the class. In other words, main() is here.
Hi,
Welcome back and thank you for asking me.

If you have any file(s), Zip all files, upload the zipped file to http://wikisend.com and post download link here.
Also let me know the deadline?
Customer: replied 3 years ago.

This is my freezing/boiling point:


http://wikisend.com/download/300332/Assignment06.zip


 


This is the employee:


http://wikisend.com/download/799798/Assignment6.zip

ok,
When do you need this answer?
Customer: replied 3 years ago.

asap no later than tomorrow evening

ok, Check back in few hours for the answer.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.
LogicPro and 3 other Homework Specialists are ready to help you
Hello Phyllis, How are you?
If you have other questions, you can post your questions using "For LogicPro Only" at the start of the question, it will ensure question comes to me.
I would be happy to help you.

Related Homework Questions