Find Jobs
Hire Freelancers

i need to complete coding challenge and i can give you the details. Just let me know the price

$10-30 USD

Completed
Posted about 6 years ago

$10-30 USD

Paid on delivery
Assume you have a GPS device which produces coordinates in decimal degrees, (e.g. 40.4314, -111.8896). Write a function that accepts the last two points produced by this data stream and returns a string depicting a direction on the compass. N – North NNE – North north east NE – North East ENE – East north east E – East ESE – East south east SE – South east SSE – South south east S – South SSW – South south west SW – South west WSW – West south west W – West WNW – West north west NW – North west NNW – North north west Here is the function prototype: String get_direction (lat1, long1, lat2, long2); The first two parameters is the starting point, the next two is the ending point. So for example if the starting point were Lehi Utah (40.391617, -111.850769) and the ending point were Fairbanks AK (64.835365,-147.776749) the function would return “NW”. To make this exercise easier you may assume a perfect rectangular earth no wrapping, meaning Tokyo will be evaluated as being East of San Francisco, not west.
Project ID: 16747055

About the project

9 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I can complete it fast. It's an easy task for me. I have a lot of experience with Java. I would appriciate the job.
$25 USD in 1 day
5.0 (28 reviews)
4.1
4.1
9 freelancers are bidding on average $49 USD for this job
User Avatar
Hi, Hope you are having a good time. we can do that for you, We have developed many apps for sensor and compass. We have developed over 100 apps and having experience in IT and mobile development for more than 5 years. We can complete this task according to your requirements with minimum time. We look forward to hear from you. Thank You
$88 USD in 1 day
5.0 (25 reviews)
5.0
5.0
User Avatar
The problem is : Taking the starting point(lat,long) as the centre of reference, we have to find the direction that the ending point is in. I have worked as a software developer(experienced in Java, C) for more than 5 years and coded many products. I will use Java to code the given problem. For any further details , you may message me this platform.
$60 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Fairborn, United States
5.0
2
Payment method verified
Member since Apr 20, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.