lexisssmith03 lexisssmith03
  • 17-11-2020
  • Computers and Technology
contestada

Does anybody know the answer to 5.7.5: Factorial of Code HS? I can’t figure it out

Respuesta :

lhmarianateixeira
lhmarianateixeira lhmarianateixeira
  • 05-04-2022

In this exercise we have to use the knowledge of computational language in JAVA to describe a code, like this:

The code can be found in the attached image.

To make it easier the code can be found below as:

function myFunction(num){

n = 0;

total = 1;

while (n < num){

  total *= (num - n);

  n+=1;

}

return total;

}

alert(myFunction(6));

See more about JAVA at brainly.com/question/2266606

Ver imagen lhmarianateixeira
Answer Link

Otras preguntas

Andre’s group was asked to write an expression equivalent to 5 p squared q + 7 p q squared minus 10. When Ms Berger checked their answers, she found only one to
Solve for the variable. 5t - 3 = 3t + 9 F t = 6 0 t = 9 H t = 3 J t = 8
How many 12s are in 2? 4
Long poems that tell stories of hero’s Sagas Epics Anthology Tall tales For my little cousin who can’t get this app
Density=2g/mL and volume=20mL what is mass
Which sample is a pure substance? zinc oxide sugar dissolved in water pond water soil
A state official used government funds for personal expenses. This violated a state law. The state had procedures in place to hold the official responsible for
-2(2x-5)=-74 show all work pleaseeeee 15 points!
what is a solution of zinc and copper?? PLS HELP five letter word
If RT bisects SU, find each measure ST, RU, SV, SU,