Java Program- ASC & DESC Order

Introduction: 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.


Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1:

Be the First to Share


    • Backyard Contest

      Backyard Contest
    • Silly Hats Speed Challenge

      Silly Hats Speed Challenge
    • Finish It Already Speed Challenge

      Finish It Already Speed Challenge

    2 Discussions

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