namespace experiment
{
class Program
{
static void Main(string[] args)
{
int t = int.Parse(Console.ReadLine());
List<int> lines = new List<int>();
for (int i = 0; i <t; i++)
{
lines.Add(int.Parse(Console.ReadLine()));
}
foreach (int x in lines)
{
int result=1;
for (int i = x; i>=1; i--)
{
result = result * i;
}
Console.WriteLine(result);
}
Console.ReadLine();
}
}
}
Hi i submitted my code but i keeps telling me error CS8025 Parsing error compilation failed. i don't understand what that means and by the way this was my solution for the small factorial problem