Skip to content

Takes four double command-line arguments x1, y1, x2, and y2, the latitude and longitude (in degrees) of two points on the surface of the earth—and prints the great-circle distance (in kilometers) between them. Uses the Haversine formula.

Notifications You must be signed in to change notification settings

andysanr/GreatCircle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreatCircle

Takes four double command-line arguments x1, y1, x2, and y2, the latitude and longitude (in degrees) of two points on the surface of the earth—and prints the great-circle distance (in kilometers) between them. Uses the Haversine formula.

About

Takes four double command-line arguments x1, y1, x2, and y2, the latitude and longitude (in degrees) of two points on the surface of the earth—and prints the great-circle distance (in kilometers) between them. Uses the Haversine formula.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages