1. Declare a variable named num with an
initial value of 0. Create a while loop that
will print "Keep going" as long as the value
of num is less than 5. Use window.alert()
for displaying the output.
2. Create a function named showProd that
returns the product of n1 and n2.
3. Using the new keyword, create an array
named info with three (3) values: your first
name, your nickname, and your last name.

Answers

Answer 1

The code to

Declare a variable and increment with a while loop until the variable is not less than 5Create a function that returns the product of two numbersUses the new keyword to create an array

were written in JavaScript and are found in the attached images

Declaring a variable

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 window.alert) to print the message "Keep going" 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 "Keep going".

So, an increment of 1 was added to the loop body to increment the variable num. This makes sure the loop terminates.

Creating a function that returns the product of two numbers

Here, a function was created that receives two arguments (n1  and n2), then returns the product (n1 * n2)

Declaring an Array

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 first namemy nickname, andmy last name

See another solved JavaScript problem here https://brainly.com/question/23610566

1. Declare A Variable Named Num With Aninitial Value Of 0. Create A While Loop Thatwill Print "Keep Going"
1. Declare A Variable Named Num With Aninitial Value Of 0. Create A While Loop Thatwill Print "Keep Going"
1. Declare A Variable Named Num With Aninitial Value Of 0. Create A While Loop Thatwill Print "Keep Going"

Related Questions

Cellular network towers are configured in such a way so that they avoid what type of problem?

Answers

avoiding OVERLAP issues

Answer:

They are configured this way to avoid overlap issues.

Explanation:

Special impact sockets and extensions are easily
identified because they are:
(A) chrome.
(B) aluminum.
(C) flat black
Durant la sto
(D) hard rubber.
les

Answers

Answer:

C

Explanation:

they are flat black

A student borrows $60,000 for business school at 6.5% stated annual interest with equal monthly payments over 10 years. Consider this as a loan with no payments or interest during school so that the problem structure is equivalent to a standard loan received one period before the first payment. How much is the monthly payment?

Answers

Answer:

  $681.29

Explanation:

The amortization formula seems to apply. The monthly payment on a loan of P at rate r for t years is ...

  A = P(r/10)/(1 -(1 +r/12)^(-12t))

For the given loan parameters, the monthly payment is ...

  A = $60,000(0.065/12)/(1 -(1 +0.065/12)^(-12·10)) ≈ $681.29

The monthly payment is $681.29.

What is The output of full-wave rectifier with filter

Answers

Answer:

The output we get from a full-wave rectifier is a pulsating DC voltage that increases to a maximum and then decreases to zero.

Explanation:

hope it helps sorry if im wrong

A stress of 2500 psi is applied to a polymer serving as a fastener in a complex assembly. At a constant strain, the stress drops to 2400 psi after 100 h. If the stress on the part must remain above 2100 psi in order for the part to function properly, determine the life of the assembly.

Answers

Very very hard to answer

How many shift pulses would be required to serially shift the contents of one five-stage register to another five-stage register

Answers

Answer:

  5

Explanation:

One pulse is required for each bit to be moved.

5 pulses are required.

what's make oil boil?​

Answers

Answer: So long as the oils form a stable solution, you know that their chemical potentials (and hence vapor pressures) are lower in the mixture than they are separately. Hence the boiling point (the temperature where the total vapor pressure is 1 atmosphere) is raised above the value of the lowest of the constituents

determine the values of the forces acting at A and B for the forces system​

Answers

Answer:

You forgot the image and or example. I mean the answer could be anything right now.

When is the output of an OR-gate LOW?​

Answers

Answer:

The OR gate is a digital logic gate that implements logical disjunction (∨) from mathematical logic – it behaves according to the truth table above. A HIGH output (1) results if one or both the inputs to the gate are HIGH (1). If neither input is high, a LOW output (0) results.

When is the output of a NAND-gate HIGH?​

Answers

Answer:

In digital electronics, a NAND gate (NOT-AND) is a logic gate which produces an output which is false only if all its inputs are true; thus its output is complement to that of an AND gate. A LOW (0) output results only if all the inputs to the gate are HIGH (1); if any input is LOW (0), a HIGH (1) output results.

The product of two factors is 4,500. If one of the factors is 90, which is the other factor?

Answers

The other factor is 50
Hope this help <3
Help me and mark my answer as brainliest plz plz

A pump of a water distribution system at 25°C is powered by a 15 kW electric motor whose efficiency is 90 percent. The water flow rate through the pump is 50 L/s. The diameters of the inlet and outlet pipes are both 5 cm and the elevation difference across the pump is negligible. If the absolute pressures at the inlet and outlet of the pump are measured as 100 kPa and 300 kPa, respectively, determine the friction loss in the system.

Answers

The friction loss in the system is 3.480 kilowatts.

Procedure - Friction loss through a pumpPump model

Let suppose that the pump within a distribution system is an open system at steady state, whose mass and energy balances are shown below:

Mass balance

[tex]\dot m_{in}-\dot m_{out} = 0[/tex] (1)

[tex]\dot m_{in} = \frac{\dot V_{in}}{\nu_{in}}[/tex] (2)

[tex]\dot m_{out} = \frac{\dot V_{out}}{\nu_{out}}[/tex] (3)

Energy balance

[tex]\eta \cdot \dot W_{el} + \dot m_{in}\cdot (h_{in}-h_{out}) - \dot W_{f} = 0[/tex] (4)

Where:

[tex]\dot m_{in}[/tex] - Inlet mass flow, in kilograms per second.[tex]\dot m_{out}[/tex] - Outlet mass flow, in kilograms per second. [tex]\dot V_{in}[/tex] - Inlet volume flow, in cubic meters per second. [tex]\dot V_{out}[/tex] - Outlet volume flow, in cubic meters per second. [tex]\nu_{in}[/tex] - Inlet specific volume, in cubic meters per kilogram.[tex]\nu_{out}[/tex] - Outlet specific volume, in cubic meters per kilogram.[tex]\eta[/tex] - Pump efficiency, no unit.[tex]\dot W_{el}[/tex] - Electric motor power, in kilowatts.[tex]h_{in}[/tex] - Inlet specific enthalpy, in kilojoules per kilogram.[tex]h_{out}[/tex] - Outlet specific enthalpy, in kilojoules per kilogram. [tex]\dot W[/tex] - Work losses due to friction, in kilowatts.

Data from steam tables

From steam tables we get the following water properties at inlet and outlet:

Inlet

[tex]p = 100\,kPa[/tex], [tex]T = 25\,^{\circ}C[/tex], [tex]\nu = 0.001003\,\frac{kJ}{kg}[/tex], [tex]h = 104.927\,\frac{kJ}{kg}[/tex], Subcooled liquid

Outlet

[tex]p = 300\,kPa[/tex], [tex]T = 25\,^{\circ}C[/tex], [tex]\nu = 0.001003\,\frac{kJ}{kg}[/tex], [tex]h = 105.128\,\frac{kJ}{kg}[/tex], Subcooled liquid

Calculation of the friction loss in the system

If we know that [tex]\dot V_{in} = 0.05\,\frac{m^{3}}{s}[/tex], [tex]\nu_{in} = 0.001003\,\frac{m^{3}}{kg}[/tex], [tex]h_{in} = 104.927\,\frac{kJ}{kg}[/tex], [tex]h_{out} = 105.128\,\frac{kJ}{kg}[/tex], [tex]\eta = 0.90[/tex] and [tex]\dot W_{el} = 15\,kW[/tex], then the friction loss in the system is:

[tex]\dot W_{f} = \frac{\dot V_{in}}{\nu_{in}}\cdot (h_{in} - h_{out}) + \eta \cdot \dot W_{el}[/tex]

[tex]\dot W_{f} = \left(\frac{0.05\,\frac{m^{3}}{s} }{0.001003\,\frac{m^{3}}{kg} } \right)\cdot \left(104.927\,\frac{kJ}{kg}-105.128\,\frac{kJ}{kg}\right) + (0.90)\cdot (15\,kW)[/tex]

[tex]\dot W_{f} = 3.480\,kW[/tex]

The friction loss in the system is 3.480 kilowatts. [tex]\blacksquare[/tex]

To learn more on pumps, we kindly invite to check this verified question: https://brainly.com/question/544887

The current standard for recovery only equipment is sae

Answers

Explanation:

I think is SAE standard J2810

An intake manifold gasket has been replaced due to a vacuum leak. Which of the following steps uses a scan tool to complete the job? O A. Torquing the manifold bolts B. Idle relearn O C. Refilling the cooling system O D. Air cleaner check​

Answers

Answer: B.Idle relearn

Explanation:

When replacing an intake manifold gasket due to a vacuum leak, using a scan tool for idle relearn is a crucial step to complete the job. The Option B.

How does a scan tool help complete the job when replacing an intake manifold gasket?

The scan tool is used to reset the idle control system and allow the engine's computer to relearn the correct idle speed and air/fuel mixture. This is important because the replacement of the intake manifold gasket can affect the engine's idle characteristics.

By using the scan tool to perform an idle relearn procedure, the engine management system can recalibrate and optimize the idle control parameters, ensuring smooth and stable idle operation. This step helps to restore the engine's performance and maintain proper combustion efficiency after the intake manifold gasket replacement.

Read more about scan tool

brainly.com/question/31196218

#SPJ2

I will give Brainliest, please help. :)

Jordan is mixing water and flour to make tortillas. The number of cups of water, w, needed for f cups of flour is described by the equation w = 0.75f.

What does 0.75 tell us in this situation?​

Answers

Answer:

The ratio of water to flour needed to make tortillas, which is 3 : 4

Explanation:

100 w = 75 f

w/f = 75/100 = 3/4

The ratio of water to flour (4:3)

The separation and purification process is used for which of the following purposes?
Household cleaning
Developing vaccines
Identifying chromosomes
Documenting chemical reactions

Answers

The separation and purification process is used for DEVELOPING VACCINES. The development of vaccines must follow strict guidelines.

A vaccine is a biological preparation used to protect against harmful diseases (e.g., viruses) in a simple and safe manner.

Vaccine purification is a strict process consisting of clarification, concentration and chromatography in order to separate the extract that contains the active principle of the vaccine.

The techniques used for vaccine filtration include membrane filtration, depth filtration and centrifugation.

Learn more about vaccines here:

https://brainly.com/question/6683555

A double-threaded Acme stub screw of 2-in. major diameter is used in a jack having a plain thrust collar of 2.5-in. mean diameter. Coefficients of running friction are estimated as 0.10 for the collar and 0.11 for the screw.

a. Determine the pitch, lead, thread depth, mean pitch diameter, and lead angle of the screw

b. Estimate the starting torque for raising and for lowering a 5000-lb load.

c. What is the efficiency of the jack when raising the load?

d. Would the screw overhaul if a ball thrust bearing of negligible friction were used in place of the plain thrust washer?

Answers

This is the answer for the question

Discuss what is an ore.

Answers

Answer:

a naturally occurring solid material from which a metal or valuable mineral can be profitably extracted.

Explanation:

yw

Answer:

Ore is an accumulation of any mineral mixed with other elements. The mineral content of an ore must be in sufficient concentration to make its extraction commercially and economically viable.

Hope it helps.

If you have any query, feel free to ask.

Write matlab code for motion of a car first order system

Answers

Answer:

Vehicle Dynamics for use with MATLAB/Simulink (VDMS) is a lumped-parameter, 15 degrees-of-freedom vehicle simulation program that reads input files containing chassis, suspension kinematics and compliances, tire, driveline, and aerodynamic inputs.

Explanation:

hope it helps you

9. An automobile's oxygen sensor output needs
to be checked. Technician A uses a digital
voltmeter to check this sensor's output.
Technician B uses an analog ohmmeter to
check this sensor's output. Who is right?
(A) A only.
(B) B only.
(C) Both A and B.
(D) Neither A nor B.

Answers

Answer:

the answer is Letter C

Explanation:

DON'T TRULY TRUST ME PLEASE..

When a tensile specimen is stretched in the plastic region to an engineering strain of 0.2, calculate the amount of cold work percent.

Answers

Answer:

0.2 x 100

Explanation:

Engineering strain is the original crossection/original crossection

cold work percentage is

original crossection/original crossection x 100

Determine the mass density of an oil if 0.3 tonnes of the oil occupies a volume of 4m.

Answers

Answer:

Do you mean 4m^3 and 3.0 tones?

Explanation:

solution:

Mass = m = 3.0 tones

- 1 ton = 1,000 kg

= 3.0 × 1,000

= 3,000 kg

volume = v = 4m^3

Required:

Mass density of oil = p = ?

We know that;

[tex]p = \frac{mass}{volume} = \frac{m}{v} = \frac{3000}{4} = 750kg |m^{3} ans [/tex]

The answer is:

750kg / m^3

innovative ideas for civil engineering individual project? I'm running out of time. Need to submit and get approval for this. Please help me and give me a new title to research.
For an egsample- Investigation of replacing Ricehusk instead of Sand in C30, Like wise​

Answers

Answer:

Top Final year projects for civil engineering students

• Geographic Information System using Q-GIS. ...

• Structural and Foundation Analysis. ...

• Construction Project Management & Building Information Modeling. ...

• Tall Building Design. ...

• Seismic Design using SAP2000 & ETABS.

Explanation:

Hope it's help

Compare the output of full-wave rectifier with and without filter

Answers

Answer:

Full wave rectification flips the negative half cycle of the sine wave to positive so the result is two positive half cycles.

Explanation:

hope it helps a lil

For flow of a liquid metal through a circular tube, the velocity and

temperature profiles are u(r)=2Um[1-(r/ro)2] and T(r) - Ts

= C2 [1 – (r/r0)2],respectively, where C2 is constant. What is the value of the Nusselt

number NuD at this location?

Answers

Answer:

Known: Form of the velocity and temperature profiles at a particular axial location for flow in a circular tube. Find: Nusselt number at the prescribed.

Explanation:

convert number 23.35 in to binary

Answers

00110010 00110011 00101110 00110011 00110101

Explain why power is generated at very high voltages.

Answers

Answer:

It's because to increase efficiency.

Explanation:

As electricity is transmitted over long distances, there are inherent energy losses along the way.

(I hope this will help)

Technician A says that primary vibration is created by slight differences in the inertia of the pistons between top dead center and bottom dead center. Technician B says that secondary vibration is a strong low-frequency vibration caused by the movement of the piston traveling up and down the cylinder. Who is correct? O A. Neither Technician A nor B OB. Technician B O C. Both Technicians A and B D. Technician A​

Answers

Neither technician Technician or  B is correct in the statement above.

What leads to primary vibration?

Vibration is a factor that is said to be caused by one or more other factors that occur together at any given time.

This can be due to actors such as imbalance, misalignment, wear and looseness and others. An imbalance  occurs due to  a "heavy spot" that is found inside a rotating component and it will lead to vibration when the unbalanced weight is said to rotates in circles round the machine's axis.

Learn more about  primary vibration from

https://brainly.com/question/7228243

The example of using biotechnology in heart surgery is used to illustrate which of the
following points?
Even advances in biotechnology cannot save every life.
There are many life-saving benefits of biotechnology.
The ethical issues in biotechnology do not apply to surgical fields.
The cost of advances in biotechnology is too high to make this care available to
all.

Answers

Answer:

There are many life-saving benefits of biotechnology.

Explanation:

1. What are some pendulum wave characteristics?

2. What are waves characteristics?

3. List characteristics that they both share

Answers

Answer:

     

Explanation:

                                   

Other Questions
(3 z + 1) + (5 + 7 z ) You already converted mass to moles for the reactants. Now convert mass to moles for the product, copper. 0.71 g Cu equals moles. LAST ATTEMPT MARKING AS BRAINLIEST!! ( write a rule to describe each transformation) Please help with math problem! :) Write 1.96 as a percent and as a fraction, Ciara is swinging a 0.015 kg ball tied to a string around her head in a flat, horizontal circle. The radius of the circle is 0.50 m. It takes the ball 0.70 seconds to complete one full circle. Calculate the tension in the string and its direction that provides the centripetal force acting on the ball to keep it in the circular path. (3 points) 0.60 N, along the line tangent to the circle 0.015 N, along the line tangent to the circle 0.60 N, toward the center of the circle 0.015 N, toward the center of the circle Chang the passive. (1) Our teacher wrote this book.(2) Italians make good pizzas. The table shows the transportation method of employees at a certain company. What percent of the total amount of employees drive a bus to work? Car: 758Bus:530Walk:7Other:105Total:1400 You are performing an experiment in a lab to attempt a new method of producing pure elements from compounds. The only problem is that you do not know what element will form. By your previous calculations you know that you will have 6. 3 moles of product. When it is complete, you weigh it and determine you have 604. 4 grams. What element have you produced?. help me please please Which impact resulted from the Federal Art Project? It supported African American artists. It established several community art centers. It produced public art with restrictions on content. It employed individuals with various skill levels. It provided financial security to many older adults. Two families are going sailing. Family A leaves the marina and sails 2.3 miles due north, then sails 3 miles due west. Family B leaves the marina and sails 2.3 miles due south, then sails 3 miles in a direction 1 north of due east.Which family is farther from the marina? Explain your reasoning. Compare 4:10 and 12:20 using fractions. Which ratio is smaller? How do you know? Find the total area of the shape shown below in square feet. Enter only the number.16 feet5 feet12 feet9 feet7 feet7 feetThe solution is Write the equation of the parabola that has the vertex at point(2, 5.5) and passes through the point (2.5, 2.5). Evaluate each of the following limits.a. lim 8(2 + h) g(2)if gt) = VI + 7hh0How do you solve this? write one in factor form with solutions 3,-1,-3i? A charity organization is having a fundraiser. The variable P models the fundraiser's profit (in dollars) if n tickets are sold. A negative profit means the expenses exceeded the income from tickets. P = 70n - 1500 How much money does the charity raise by selling a single ticket? Hello People Look At The Image And Tell Me Is This True Or Not PLS HELPPPPPPPPPPPPPPPP!!!!!!!!!!!