C++ Program on Coordinates.