# C# Coding Assignment- Visual Studio (MUST USE THE ATTACHED SHELL) Full Instructions Attached

Three different colored drones are each flying at a different velocity and location away from their home takeoff point.  The map below shows the situation.

The xy-coordinates are locations measured in meters from the 0,0 home position, and the drones’ velocities are measured in meters per second (m/s).
You need to determine how long it will take each drone to fly home given their respective velocities.
Use the provided code shell below and build a console program:
Create a class named MyDrone to represent drones. The required data fields are number of rotors, velocity, x coordinate location, y coordinate location, and a String for color.  Use a static class variable for color.  You will need to provide the class method implementation for the properties and a method getTimeToHome() for computing the number of seconds it will take each drone to fly home from its given position.  This will require two calculations.  First, you’ll need to determine how far from home the drone is.  This is done with the below formula:

Don't use plagiarized sources. Get Your Custom Essay on
C# Coding Assignment- Visual Studio (MUST USE THE ATTACHED SHELL) Full Instructions Attached
Just from \$13/Page

Once you know the distance from home, you can determine how long it will take to fly there by dividing that distance by the drone’s velocity.  Return that time from your getTimeToHome() method.
The outline of the class is given as follows:

Write the code in main to create three MyDrone objects. Assign each drone the following paramters:
Drone 1: 4 rotors, 5 m/s velocity, at x 50, y 50, red
Drone 2: 6 rotors 12 m/s velocity, at x -45, y 25, green
Drone 3: 8 rotors 10 m/s velocity, at x 10, y -55, blue
Drone 1 should be created using the empty constructor, while Drones 2 and 3 should use the constructor requiring parameters.  Display all properties of each objects along with the time it will take each to fly home.  Format the time so that it displays only two decimals.  Format the output for your three drones so that it looks like the below example (which only shows 2, but you get the idea – and, no, it doesn’t have to be green text):

Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

At Solution Essays, we are determined to deliver high-quality papers to our clients at a fair price. To ensure this happens effectively, we have developed 5 beneficial guarantees. This guarantees will ensure you enjoy using our website which is secure and easy to use.

### Money-back guarantee

Most companies do not offer a money-back guarantee but with Solution Essays, it’s either a quality paper or your money back. Our customers are assured of high-quality papers and thus there are very rare cases of refund requests due to quality concern.

### Zero-plagiarism guarantee

All our papers are written from scratch and according to your specific paper instructions. This minimizes any chance of plagiarism. The papers are also passed through a plagiarism-detecting software thus ruling out any chance of plagiarism.

### Free-revision policy

We offer free revisions in all orders delivered as long as there is no alteration in the initial order instruction. We will revise your paper until you are fully satisfied with the order delivered to you.

All data on our website is stored as per international data protection rules. This ensures that any personal data you share with us is stored safely. We never share your personal data with third parties without your consent.

### Fair-cooperation guarantee

Ordering and sending money to us is an indication that you are purchasing our products and services. To have business talks laid out in the official language, you can check on our terms and conditions and get more information about this.

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors: