Homework

Homework Questions? Ask a Tutor for Answers ASAP

Ask an Expert,
Get an Answer ASAP!

C++
, If I pay the amount requested on this page. I…

Customer Question
If I pay the...

If I pay the amount requested on this page. I will be able to get only one answer or this is a membership where I can be posting my questions?

Submitted: 2 years ago.Category: Homework
Show More
Show Less
Ask Your Own Homework Question
Answered in 2 hours by:
1/26/2016
Tutor: LogicPro, Engineer replied 2 years ago
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
Verified

Hi,

Welcome

Hope you are doing well.

Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 2 years ago
Hi Tutor,Base on this information this is what I wrote but except for the Demonstration part because have no idea what they want here is my code://
// main.cpp
// ship
//
// Created by Pedro Andalon on 1/26/16.
// Copyright © 2016 Pedro Andalon. All rights reserved.
//#include
#includeusing namespace std;//=========================================Ship Class==================================class Ship
{
private:
string shipsName;
int yearBuilded;
public:
void setShipsName(string);
void setYearBuilded(int);
void printShip();
string getShipsName();
int getYearBuiled();
};//Setters for our class Ship=================================
void Ship::setShipsName(string n)
{
shipsName=n;
}
void Ship::setYearBuilded(int y)
{
yearBuilded=y;
}
void Ship::printShip()
{
cout<<"Ship's Name: "<<getShipsName()<<"\n";
cout<<"This ship was builded: "<<getYearBuiled();
}
//Getters for our class Ship===================================
string Ship::getShipsName()
{
return shipsName;
}
int Ship::getYearBuiled()
{
return yearBuilded;
}//=========================================CruiseShip Class==================================class CruiseShip: public Ship
{
private:
int maxPassengers;
public:
void setMaxPassengers(int);
void printCruiseShip();
int getMaxPassengers();
};//Setters for the inheritance class====================
void CruiseShip::setMaxPassengers(int mxp)
{
maxPassengers=mxp;
}
void CruiseShip::printCruiseShip()
{
cout<<"Ship's Name: "<<getShipsName()<<"\n";
cout<<"Maximum Passenger: "<<getMaxPassengers();
}//Getters for the inheritance class======================
int CruiseShip::getMaxPassengers()
{
return maxPassengers;
}//=========================================CargoShip Class==================================class CargoShip: public Ship
{
private:
int capacityTonnage;
public:
void setCapacityTonnage(int);
void printCargoShip();
int getCapacityTonnage();
};//Setters for the inharitance class============================
void CargoShip::setCapacityTonnage(int t)
{
capacityTonnage=t;
}
void CargoShip::printCargoShip()
{
cout<<"Ship's Name: "<<getShipsName()<<"\n";
cout<<"Cargo Capacity: "<<getCapacityTonnage()<<"Ton";
}//Getters for the inheritance class=============================
int CargoShip::getCapacityTonnage()
{
return capacityTonnage;
}/*int main(int argc, const char * argv[]) {
// insert code here...
std::cout << "Hello, World!\n";
return 0;
}*/
Customer reply replied 2 years ago
My bad totally forgot to add this part:1. Inheritance and Polymorphism (30 points)
Design a Ship class that has the following members:
• A member variable for the name of the ship (a string)
• A member variable for the year that the ship was built (an int)
• Appropriate constructors, accessors and mutators
• A print function that displays the ship’s name and the year it was built.
Design a CruiseShip class that is derived from the Ship class. The CruiseShip class should have the following members:
• A member variable for the maximum number of passengers (an int)
• Appropriate constructors, accessors and mutators
• A print function that overrides the print function in the base class. The CruiseShip
class’s print function should display only the ship’s name and the maximum number of passengers.
1
Design a CargoShip class that is derived from the Ship class. The CargoShip class should have the following members:
• A member variable for the cargo capacity in tonnage (an int)
• Appropriate constructors, accessors and mutators
• A print function that overrides the print function in the base class. The CargoShip
class’s print function should display only the ship’s name and the ship’s cargo capacity.
To demonstrate the working of the classes create two objects of each type. The first object (for each type) must be created using the constructor that takes values for all of the data members. The second object must be created using the default constructor and mutators methods must be used to set the values of the data members. Also, make sure to get inputs from the user for each of the data member and NOT hardcode them in the program. You can define variables for getting these user inputs and then pass these variables to the constructors and the mutators. The program then should call each object’s print function to display the data stored in them.
Tutor: LogicPro, Engineer replied 2 years ago

Hi,

Welcome

Hope you are doing well.

Zip all files; upload the zipped file to http://wikisend.com or http://ge.tt and post download link here.

The format is not easy to read.

What is the deadline?

Ask Your Own Homework Question
Customer reply replied 2 years ago
The 2 links you sent me they are blank
Tutor: LogicPro, Engineer replied 2 years ago

Zip all your files

open http://wikisend.com in your browser

Upload the zipped file

Now provide the file id here to let me download

Ask Your Own Homework Question
Customer reply replied 2 years ago
can I add file to this site?
Tutor: LogicPro, Engineer replied 2 years ago

Read this:

http://ww2.justanswer.com/help/how-do-i-send-photo-or-file-expert-0

Ask Your Own Homework Question
Customer reply replied 2 years ago
I am sorry but the instruction that you send me on this link: http://ww2.justanswer.com/help…
Looks like they belong for a totally different site.I add a file to this site
Tutor: LogicPro, Engineer replied 2 years ago

There are no cpp files and requirements. Zip file is blank

Please zip all your code files and requirements files and provide again

Ask Your Own Homework Question
Customer reply replied 2 years ago
hmm what about now?
Tutor: LogicPro, Engineer replied 2 years ago

Thats great

Looking at the efforts, I am sending small revised offer. let me know once you accept it.

Ask Your Own Homework Question
Customer reply replied 2 years ago
What? I just pay $60 dollar sir
I am sorry but I don't accept
of course
Customer reply replied 2 years ago
I paid $60 just to talk to you that is not fair
Tutor: LogicPro, Engineer replied 2 years ago

No issues. let me know the deadline. I will provide the answer

Ask Your Own Homework Question
Tutor: LogicPro, Engineer replied 2 years ago
This answer is protected
Would you like to ask this question?
If you've already paid for this answer, simply Login.
Was this answer helpful?
Ask LogicPro Your Own Question
LogicPro
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 13,458
13,458 Satisfied Customers
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML

LogicPro is online now

A new question is answered every 9 seconds

How JustAnswer works:

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

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here.

DianeDallas, TX

< Previous | Next >

Meet the Experts:

LogicPro

LogicPro

Engineer

13,458 satisfied customers

Expert in Java C++ C C# VB Javascript Design SQL HTML

Manal Elkhoshkhany

Manal Elkhoshkhany

Tutor

4,551 satisfied customers

More than 5000 online tutoring sessions.

Linda_us

Linda_us

Finance, Accounts & Homework Tutor

3,138 satisfied customers

Post Graduate Diploma in Management (MBA)

Chris M.

Chris M.

M.S.W. Social Work

2,636 satisfied customers

Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)

F. Naz

F. Naz

Chartered Accountant

2,161 satisfied customers

Experience with chartered accountancy

Bizhelp

Bizhelp

CPA

1,887 satisfied customers

Bachelors Degree and CPA with Accounting work experience

Seanna

Seanna

Tutor

1,781 satisfied customers

3,000+ satisfied customers, all topics, A+ work

< Previous | Next >

Related Homework Questions
A rubber ball retains 95% of its kinetic energy after each
A rubber ball retains 95% of its kinetic energy after each bounce. If a ball is dropped from a height of 2 meters what will its speed be just as it hits for its fourth bounce?… read more
GLENN
GLENN
Master of Mathematics
410 satisfied customers
JUST CHECKING OUT MY OPTIONS. IS THERE A FEE? Hmmmmm, I have
Hmmmmm, I have a face to face guy who charges $40. hr but he can't always make it when I need him and he's always in a rush to leave. I like to get everything done in one sitting. I am usually able to answer about 80% of the questions on my own and just need him as a supplement but it seems I usually have to wait a couple of days to see him again and sometimes it's inconvenient for me but I do it anyway because I have to meet the deadline for assignments. If I could get a set fee, maybe this would be more appealing to me. I just like to know what to budget it out to before I commit. … read more
GLENN
GLENN
Master of Mathematics
410 satisfied customers
700138 pennfoster answer. It's a writting
700138 pennfoster answer JA: The Expert will know what to do. Please tell me everything you can so the Expert can help you best. Customer: it's a writting JA: Is there anything else the Expert should … read more
GLENN
GLENN
Master of Mathematics
410 satisfied customers
Write a main function that asks the user for four floats and
Write a main function that asks the user for four floats and then outputs the minimum, maximum, their sum and mean value. Use the functions from (a) – (d) to implement this. (a) Take two floats as arg… read more
Satchi
Satchi
Bachelor\u0027s Degree
2,102 satisfied customers
A dear friend has written a series of three words which she
Hi. A dear friend has written a series of three words which she has used as the title of an essay and in the body of an essay and in a published book. The book is available as a paper version and also… read more
Olivia Kent
Olivia Kent
Managing Partner
Doctoral Degree
3,216 satisfied customers
Statistics question. Just a couple of question
statistics question JA: The Tutor can help you get an A on your homework or ace your next test. Tell me more about what you need help with so we can help you best. Customer: just a couple of question … read more
Brad Summers
Brad Summers
Bachelor of Education
9 satisfied customers
Submit your spreadsheet work (along with this summary answer
Submit your spreadsheet work (along with this summary answer sheet) for the problems below Indicate your “bot***** *****ne” answers in the space provided below for each question (which require a sprea… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
In C Program. Write functions for the four basic
In C Program. Write functions for the four basic mathematical operations addition, subtraction, multiplication and division. Each function has two numbers as parameters and returns the result. Use int… read more
Satchi
Satchi
Bachelor\u0027s Degree
2,102 satisfied customers
I need help with my Marketing course but I do not see
I need help with my Marketing course but I do not see Marketing in the Category below. This assignment is due by May 25, 2018. This assignment has 20 questions. Select the best answer to each question… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
A friend gives you a metal cube that measured 2.0cm on each
A friend gives you a metal cube that measured 2.0cm on each side and has a mass of 27.5g.what can be deduced from the cube and the table(the table has the density of aluminum 2.7) I planed to find the… read more
Brad Summers
Brad Summers
Bachelor of Education
9 satisfied customers
Need help with IT Project Management assignment. The
Need help with IT Project Management assignment. The assignment information is attached.TASK: 1. Do a risk management plan: list of risks involved, level of the risk, the likelihood of the risks of oc… read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
I need help, Psychology, Right know just this
I need help JA: The Tutor can help you get an A on your homework or ace your next test. Tell me more about what you need help with so we can help you best. Customer: Psychology JA: Is there anything e… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
A screening examination was performed on 250 persons for
A screening examination was performed on 250 persons for Factor X, which is found in disease Y. A definitive diagnosis for disease Y among the 250 persons had been obtained previously. The results are… read more
Chris M.
Chris M.
M.S.W. Social Work
Master's Degree
2,636 satisfied customers
The death rate per 100,000 for lung cancer is 7 among
The death rate per 100,000 for lung cancer is 7 among non-smokers and 71 among smokers. The death rate per 100,000 for coronary thrombosis is 422 among non-smokers and 599 among smokers. The prevalenc… read more
GLENN
GLENN
Master of Mathematics
410 satisfied customers
I'm in the process of writing a story and am second-guessing
Hello. I'm in the process of writing a story and am second-guessing the structure of the following paragraph. Is it acceptable as is, or do I need to precede the last quoted sentence by a blank line. … read more
GLENN
GLENN
Master of Mathematics
410 satisfied customers
An epidemiologic survey of roller-skating injuries in
An epidemiologic survey of roller-skating injuries in Metroville, a city with a population of 100,000 (during the midpoint of the year), produced the following data for a particular year:Number of ska… read more
Brad Summers
Brad Summers
Bachelor of Education
9 satisfied customers
I need help writing a Transportation project case study that
Hello, i need help writing a Transportation project case study that was completed within the last 3 years in the Wilson N.C. area or in the eastern part of N.C. It needs to describe the background of … read more
F. Naz
F. Naz
Chartered Accountant
CA Finalist & Completed B.com
2,161 satisfied customers
The death rate per 100,000 for lung cancer is 7 among
The death rate per 100,000 for lung cancer is 7 among non-smokers and 71 among smokers. The death rate per 100,000 for coronary thrombosis is 422 among non-smokers and 599 among smokers. The prevalenc… read more
Dr. Jon
Dr. Jon
Attending Physician
MD
143 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x