atHome + le mooc +

Compare, classify, sequence in ascending order – Level 2

Remember your mission for Monsieur Louis. To ensure that he has all the required medications, you have taken an inventory of his medicine cabinet.

But to avoid getting lost in a lot of encrypted data, it is essential to know how to compare data with each other, sort them and classify them.

So you decide to store his medicines by classifying them according to their expiry date.

Before moving on to the exercises, we invite you to a short review that will give you a method for doing different types of ranking.