using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;
namespace P15_Fatorial { class Program { static void Main(string[] args) {
for (int i = 1; i <= 10; i++)
{
int fatorial = 1;
for (int j = 1; j <= i; j++)
{
fatorial = fatorial * j;
}
Console.WriteLine("O Fatorial de " + i + " é " + fatorial);
}
Console.ReadLine();
}
}
}