1
resposta

Solução

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Fatorial
{
    class Program
    {
        static void Main(string[] args)
        {
            int fatorial = 1;
            for (int n = 1;n <= 10; n++)
            {

                fatorial = fatorial * n;
                Console.WriteLine(fatorial);
            }
            Console.ReadLine();
        }
    }
}
1 resposta

Legal Roberto, é isso ai.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software