[code=csharp]int factorial; int numero; int sumatoria = 0; for (int i = 1; i <= 5;i++ ) { Console.WriteLine("Entre un número entero: "); numero = int.Parse(Console.ReadLine()); factorial =numero; for (int j = 1; j < numero;j++ ) { factorial = j * factorial; } sumatoria = sumatoria + factorial; Console.WriteLine("El factorial del {0} es {1}", numero, factorial); } Console.WriteLine("La sumatoria de los factoriales es: {0}", sumatoria);