Buscar

What is the purpose of the code above? Calculate the factorial of a given number. Print the value of the given number. Print the value of the fact...

What is the purpose of the code above?

Calculate the factorial of a given number.
Print the value of the given number.
Print the value of the factorial.
a) Only statement 1 is correct.
b) Statements 1 and 2 are correct.
c) Statements 1 and 3 are correct.
d) All statements are correct.

Essa pergunta também está no material:

ex2_algoritmos
1 pág.

Algoritmos ExatasExatas

💡 1 Resposta

User badge image

Ed Verified user icon

A resposta correta é a alternativa c) Statements 1 and 3 are correct. O objetivo do código é calcular o fatorial de um número dado e imprimir o valor do número e o valor do fatorial.

0
Dislike0

✏️ Responder

SetasNegritoItálicoSublinhadoTachadoCitaçãoCódigoLista numeradaLista com marcadoresSubscritoSobrescritoDiminuir recuoAumentar recuoCor da fonteCor de fundoAlinhamentoLimparInserir linkImagemFórmula

Para escrever sua resposta aqui, entre ou crie uma conta

User badge image

Outros materiais