Find the altitude of a location on the earth, given latitude and longitude coordinates, above mean sea level.
Input___________Latitude and Longitude in decimal degrees.
Output_________ Altitude in meters.
Example:
Everest (27.988056°N 86.925278°E) ----> Height: 8816.663 m (from Google Maps)
Dan, could you provide some more specifics here? Altitude in meters, feet, or furlongs? Against what reference? Number of significant digits you expect? Latitude and longitude are in decimal degrees? An example would also help.
Thank you for suggestions
I like test #7. Although doing it the "right" way, I seem to get decimal precision on the negative values which caused it to fail the test suite.
Fixed tests with negative values and rescored solutions!
the expected level of precision of the responses seems a bit unreasonable (<1 nanometer?), perhaps you could allow +-1% error in the returned altitude responses?
Modified tolerance of the answers.
3417 Solvers
Back to basics 4 - Search Path
280 Solvers
265 Solvers
357 Solvers
100 Solvers