Introduction: Java Program- ASC & DESC Order

Picture of Java Program- ASC & DESC Order

This simple java program arranges numbers in ascending as well as descending order. You can download this code using the link provided. Run exactly this code, for if you make some changes, there may be unexpected output. Later, I will explain the complicated blocks of code in another post. As for now, play around with this code.


*This program accepts only Double type numbers. You can make it Long Double type, but I cannot give you the guarantee that the program will run correctly.

**There are certain lines of code which may not be logically required, but they are important to get the expected output.


Step 1:


Abhinandan pal (author)2015-04-06

you can just select the code font and write the code as else it is hard to understand the code.

Abhinandan, I think that I've already provided a link to view the code.

About This Instructable




More by Rathindra Nath Karmakar:Java program- ASC & DESC orderCharacter diamond
Add instructable to: