✏️ Explanatory Question

Write a Java program to sort each row of the following 2D array in ascending order.

Example Input:


9 7 5  
3 1 2  
6 4 8  

Expected Output:


5 7 9  
1 2 3  
4 6 8  

👁 74 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Answer not available right now.