Write a Java program which have a array of numbers such as 1243276975. Output should be ascending and descending. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a Java program which have a array of numbers such as 1243276975. Output should be ascending and descending.

The output shoud be like right elements in ascending order and left elements in descending order. You may have your own nos. In the array.

16th Nov 2019, 8:38 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar
2 Answers
0
~ swim ~ its not about effort i m not getting the correct logic
17th Nov 2019, 5:45 AM
Aastha🇮🇳
Aastha🇮🇳 - avatar
0
~ swim ~ thanks for the logic
17th Nov 2019, 1:10 PM
Aastha🇮🇳
Aastha🇮🇳 - avatar