Yahoo Answers is shutting down on 4 May 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Coding help please thanks?

How do you display what user have key in of array data ?

I want to show like year from the smallest year to larger year.

1 Answer

Relevance
  • 8 years ago
    Favourite answer

    Do you mean to ask how to sort an array? ince you never started the language I'm going to describe the general process. In most languages you can access the value at any point in An array with arrayName[x] for x an int denoting the position. By comparing x and x + 1 and every other array element you can swap values and move stuff around to sort it.

    Please post another question with a precise question, the language, and an example of before and after data manipulation.

Still have questions? Get answers by asking now.