using System;
public class Program
{
public static void Main()
int[] A = new int [7];
int[] B = new int [7];
string texto;
texto = ("");
for (int x= 0 ; x <= 6; x++)
Console.WriteLine("Digite numero para calcular fatorial");
A [x] = Convert.ToInt32(Console.ReadLine());
B [x]=A[x];
for(int y =2;y<A[x];y++)
B[x]*=y;
}
texto+=("o fatorial de "+A[x]+" é "+B[x]+"\n");
Console.WriteLine(texto);