Suppose that longitude is assigned to the first column of an array and latitude is assigned to the second column of an array. If the user inputs the longitude and the latitude, how do you loop through the 2D array to find which row the longitude and latitude match up?
Please use java to answer this question. Here are the variables:
double longitude = Double.parseDouble(args[0]);
double latitude = Double.parseDouble(args[1]);
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here