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.
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
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar