Console.WriteLine("liste des carrés < 100");
Console.WriteLine("carre "+ carre + " et nombre " + n);
Console.WriteLine("carre "+ carre + " et nombre " + n);
Console.WriteLine("factorielle du nombre");
int n = Convert.ToInt32(Console.ReadLine());
for (int i = 1; i <= n; i++)
Console.WriteLine("factorielle du nnombre est:" + produit);
Console.WriteLine("pgcd de deux nombres");
int a = Convert.ToInt32(Console.ReadLine());
int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("PGCD(a,b)=" + pgcd);
Console.WriteLine("primarité du nombre");
int a = Convert.ToInt32(Console.ReadLine());
int b = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("le nombre est divisible par lui-même", + a);
Console.WriteLine("le nombre n'est pas premier", + a);
public static void Main()