JUST ONLY USE . Not use class, not use give a choice as towhich way to sort it.
Write a program that reads 10 pairs of Cartesian coordinates from a filecalled "points.txt" andsorts them by increasing x-values, decreasing y-values, and increasing distance from the origin. Use only one sorting routine. Use an enumerated data type to keep track of the field on which the list is being sorted. The number of pairs should be in a global constant c++
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here