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++.