I need to take an n number of x and y coordinates from the user and figure out some information based on the inputted points (northmost, southmost, etc.)

I wanted to know what the best data structure would be to store the inputted x and y coordinates and be able to go through the inputted data and find out the stuff I need to. Thanks.

there's a very nice Point2D class that might be just what you're looking for.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.