I attached a photo that explains and gives the answer to your questions. Had to add a border because the whole picture didn’t fit.
The code to
- Declare a variable and increment with a while loop until the variable is not less than 5
- Create a function that returns the product of two numbers
- Uses the new keyword to create an array
were written in JavaScript and are found in the attached images
<h3>
Declaring a variable</h3>
The first code declares a variable called num and gives it an initial value of 0. It then enters a while loop that lauches a message box (using <em>window.alert</em>) to print the message "<em>Keep going</em>" as long as num remains less than 5.
If nothing is done within the loop to increment num towards the value 5, the loop will go on endlessly notifying the user to "<em>Keep going</em>".
So, an increment of 1 was added to the loop body to increment the variable num. This makes sure the loop terminates.
<h3>
Creating a function that returns the product of two numbers</h3>
Here, a function was created that receives two arguments (n1 and n2), then returns the product (n1 * n2)
<h3>
Declaring an Array</h3>
This last code segment creates an array using the new keyword. The new keyword is generally used in constructing objects.
In this case the object constructed is an array having three strings;
- my <em>nickname</em>, and
See another solved JavaScript problem here brainly.com/question/23610566
Answer:
The correct option is;
B) Metamorphic Rocks
Explanation:
Zoisite, which is also referred to saualpite, is a metamorphic rock which is a hydroxy sorosilicate mineral formed from other types of rocks such as sedimentary, metamorphic and ingenious rocks in the process of their metamorphism under the presence high temperatures and pressures and mineral fluids which are hot
Zoiste is named after Sigmund Zois by Abraham Gottlob Werner in 1805 when Sigmund Zois sent Abraham Gottlob Werner the mineral specimen from Saualpe in 1805
Explanation:
I'm not exactly a master at coding, but I'm pretty sure that:
The farmer will remove dirt as long as there is a pile, then stop when the pile is done.