using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Exemple3 { class Program { static void Main(string[] args) {/*Exemple 3 : Écrire un programme qui lit 5 notes * et les stocks dans un tableau * puis affiche les notes dans l’ordre inverse */ const int taille = 5; float[] notes = {10,11,12,13,14}; //for (int i = 0; i < taille; i++) //{ // Console.Write("Donnez-moi la note No {0}: ", i + 1); // notes[i] = float.Parse(Console.ReadLine()); //} for (int i = taille-1; i >=0; i--) { Console.WriteLine("La valeur de la note No {0} est {1}", i + 1, notes[i]); } Console.Read(); } } }