Code 101 - Alphabetical Order (Ascending and Descending) This program generates the input word(s) into alphabetical order (ascending and descending) 1. Ascending Order - arranged by smallest to largest or First to Last 2. Descending order - arranged by largest to smallest or Last to First Example Enter a Word(s) : sample Alphabetical Order (Ascending): a e l m p s Alphabetical Order (Descending): s p m l e a Here's the code If you want to test it. Live Demo - https://codepen.io/mihsaky/pen/bGRrzYg The code can be found also in the link.
Log in to join in Reading is open to everyone. Replying needs an account.
No comments yet