What is the purpose of the algorithm described in the code above?
Calculate the power of a base number raised to an exponent.
a) Calculate the squ...
What is the purpose of the algorithm described in the code above?
Calculate the power of a base number raised to an exponent. a) Calculate the square root of a number. b) Calculate the factorial of a number. c) Calculate the logarithm of a number. d) Calculate the sine of an angle.
Algoritmos e Programação I • Instituto Federal de Educação, Ciência e Tecnologia FluminenseInstituto Federal de Educação, Ciência e Tecnologia Fluminense
O objetivo do algoritmo descrito no código acima é calcular a potência de um número base elevado a um expoente. Portanto, a alternativa correta é: a) Calcular a raiz quadrada de um número.
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar