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

Which law of motion accounts for the following statement?"The gravity of the Sun causes the planets to move in a circular path."
I have a Triangle and I need to find the side BC?
Round 24,269 to the nearest thousand
In the equation 3^x=20, to the nearest tenth, what does x equal?
Don't need the answer, just how you would solve this: Tobin rows 2 miles per hour faster than her opponent. If it takes Tobin 30 minutes to finish a race, and i
In some of these sentences one word has been spelt wrongly. Underline the word and write its correct spelling in the space provided.1. The dairy near our house
One of the of sulfur is represented as sulfur-35 or S- 35. What does the number 35 signify?
Why were the 1936 Olympics important to the Nazi's and what advantages did they bring them
What is a Tzotchke? please help
what is an example of Deceleration?