Question
Create a StarShip Class, as defined in class and instantiate objects based on the class in a demo program. Include use of the default and
Create a StarShip Class, as defined in class and instantiate objects based on the class in a demo program. Include use of the default and parameterized constructor, getters and setters.
StarShip
- starShip Name : string
-maxVelocity:int
- crewSize : int
- displacement : double
Create all required getters and setters, default constructor and parameterized constructor, and a display method.
Use the three file approach, header, implementation and demo.
Each assignment should be completed by creating a Visual Studio project. Compress the entire project folder using the instructions in the Course Document: Compressing Visual Studio Projects Each project must include comments and document all specs, requirements and testing employing the following the example in a block in the header of the the .cpp file in your project containing the main method: THIS IS AN EXAMPLE, ADAPT THIS TO EACH PROJECT:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started