Skip to content

abh1abii/CarRental-CircularDistance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CarRental-CircularDistance

A nearby car rental service implementation using great circular distance algorithm in C++ and JSON. Finding cars nearby using Great Circle Distance formula.

Imports location data of cars from JSON file, takes input x,y user cordinates. Lists all nearby cars within 50KM from user into an output JSON file. Prints 5 closest results onto the console.

JSON data is randomly generated for testing. Program compiles successfully in G++ GNU compiler. Requires "bits/stdc++" library in case of older versions of C++.

About

A nearby car rental service implementation using circular distance algorithm in C++ and JSON.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages