Open
Conversation
The information files have been updated to describe the current state of the repository. Repository owner information added to README.md
o A jet has an additional member data “numberOfEngines” (int). It is an integer with default value of 1. o Mileage = A random number between 40 and 100 miles per minute. If the Jet has more than 2 engines and the fuel type is “Rocket”, the mileage will be boosted by 5.5% per engine. Jet inherits from the PoweredVehicle class.
Mileage = A random number between 0.1 and 0.5 miles per minute. If time is more than 25 minutes and less than 250 minutes, add a random amount of mileage, ranging from to 1 to a third of the time’s value. Skateboard inherits from the Vehicle class
Last vehicle and implement it as a new class. This new class should have a non-trivial mileage computation
it should have a non-trivial mileage computation
object oriented question is responded in this commit
Is the Driving simulator prototype using polymorphism and/or encapsulation?.
Author
|
Merging development and commit |
bh16h
pushed a commit
to bh16h/assignment2
that referenced
this pull request
Oct 10, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit to master branch, ran out of time, almost ready to submit