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: 12983
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

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

Customer Question

C++
JA: Thanks. Can you give me any more details about your issue?
Customer: 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?
JA: OK got it. Last thing — Tutors generally expect a deposit of about $18 to help with your type of question (you only pay if satisfied). Now I'm going to take you to a page to place a secure deposit with JustAnswer. Don't worry, this chat is saved. After that, we will finish helping you.
Submitted: 1 year ago.
Category: Homework
Expert:  LogicPro replied 1 year 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.

What is the deadline?

Customer: replied 1 year 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: replied 1 year 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.
Expert:  LogicPro replied 1 year 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?

Customer: replied 1 year ago.
The 2 links you sent me they are blank
Expert:  LogicPro replied 1 year 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

Customer: replied 1 year ago.
I just add a screen shot of what I get when I open your link
Customer: replied 1 year ago.
can I add file to this site?
Expert:  LogicPro replied 1 year ago.

Read this:

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

Customer: replied 1 year 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
Expert:  LogicPro replied 1 year ago.

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

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

Customer: replied 1 year ago.
hmm what about now?
Expert:  LogicPro replied 1 year ago.

Thats great

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

Customer: replied 1 year ago.
What? I just pay $60 dollar sir
I am sorry but I don't accept
of course
Customer: replied 1 year ago.
I paid $60 just to talk to you that is not fair
Expert:  LogicPro replied 1 year ago.

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

Expert:  LogicPro replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions