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