Sakshi S.

asked • 04/08/21

Sort a double dimensional array in java using scanner class.

Ex: Original Matrix

11 -2 3
5 16 7
9 0 4
3 1 8

Sorted array
16 11 9
8 7 5
4 3 3
1 0 -2


2 Answers By Expert Tutors

By:

Patrick B. answered • 04/08/21

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.