public static void exo1()
Console.WriteLine("Entrez un nombre");
int n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i < n; i=i+2)
public static void exo2()
Console.WriteLine("Entrez un nombre");
int n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i < n; i++)
Console.WriteLine(somme);
public static void Main()