From 6207c8ac72b55185666d6b2644c42aa5cde0a605 Mon Sep 17 00:00:00 2001 From: Tom Moguljak Date: Sun, 14 May 2023 12:10:12 +0200 Subject: [PATCH] Ajout de la question 5 exercice 2 --- Exo2/Question5.sce | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Exo2/Question5.sce diff --git a/Exo2/Question5.sce b/Exo2/Question5.sce new file mode 100644 index 0000000..c727d54 --- /dev/null +++ b/Exo2/Question5.sce @@ -0,0 +1,6 @@ +//On classe les valeurs de façon croissante +[espreranceHomme,indice] = gsort(data(u,11)); + +//Les pays correspondant à l'espérance la plus grande et la plus petite +paysMaxHomme = pays(indice(1),1); +paysMinHomme = pays(indice(length(indice)),1);