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

All forms of energy can be transformed into what form of energy, often times as waste?

Answers

I think thermal energy. It tends to be the final form off all energy equations in physics.

A 100 MHz generator with Vg= 10/00 v and internal resistance 50 ohms air line that is 3.6m and terminated in a 25+j25 ohm load

Answers

The value of Vz at point z from the generator  = 17.748 ∠ -107.62°  V

Given data :

Internal resistance = 50 ohms

Vg = 10 ∠ 0° v

length of air line = 3.6 m

Terminating resistance = 25 + j25 Ω

First step : Determine the Total impedance

Total Impedance ( z ) = Rin + Rline + Rl + jXl

                                   = 50 + 50 + 25 + j25  

                                   = 125 + j25  ≈ 127.47 ∠ 11.3°

Next step : Determine the current in the circuit

current ( I ) = Vg / z

                  =  ( 10∠0° v ) / ( 127.47 ∠ 11.3° )

                 = 0.0784 ∠ -11.3  amp

Final step : Determine the value of Vz at point z from the generator

Vz = ( Vg + I * Ri ) - ( RI * I + Rline * I )

    = ( 10∠0° + 0.0784 ∠ -11.3  * 50 ) - ( 25 + j25  + 50 * 0.0784 ∠ -11.3 )

    = -5.37 - j16.91  ≈  17.748 ∠ -107.62°  V

Hence we can conclude that the value of Vz at point z form the generator 17.748 ∠ -107.62°  V

Learn more about voltage : https://brainly.com/question/11288970

Hello your question is incomplete below is the complete question

A 100 MHz generator with Vg =10< 0 degree (v) and internal resistance 50-ohm is connected to a lossless 50-ohm air line that is 3.6m long and terminated in a 25+j25 (ohm) load.

Find (a) V(z) at a location z from the generate.

Give the largest positive number that can be represented in 13 bits for the two cases:
a) Unsigned number, and b) Signed number
Show the binary, decimal, and hexadecimal representations of the number for each case

Answers

The largest positive number that can be represented in 13 bits for the two cases are

A) Unsigned number

The largest unsigned no can be represented with 13bits as

[tex](2)^n - 1 = (2)^{13} - 1 = 8191[/tex]

In Binary - [tex](1111111111111)_2[/tex]

In decimal - [tex](8191)_{10}[/tex]

In hexadecimal - [tex](1FFF)_{16[/tex]

B) Signed number

The largest signed no can be represented with 13bit as

[tex]2^n = 2^{13} = 8192[/tex]

The range is from [tex](2^n-1)[/tex]

therefore, the maximum value is [tex](4096)_{10}[/tex]

In binary - [tex](1000000000000)_2[/tex]

In hexadecimal - [tex](1000)_{16}[/tex]

For more information on Binary numbers, visit

https://brainly.com/question/21285223

How to find Catenary length in sag

Answers

Answer:

buter uwu heheheheh joke

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

i) A sag vertical curve is to be designed to join a 4% grade to a 2% grade. If the design
speed is 50 mi/h, determine the minimum length of the curve. Assume a = 11 ft /sec2 and
perception-reaction time = 2.5 sec. Consider the following criteria:
a) Stopping sight distance
b) Comfort

Answers

Answer:

=4/5 because I'm not going to go back in a year meaning that they are you are

how to study thermodynamics?​

Answers

It is study of the relationships between heat, temprature, work and energy

Thermodynamics is one of the few engineering courses that I would say are more conceptual than computaional. I can not emphasise how important it is to fully understand thermodynamic terminology and process. Once you understand those any problems can be easily worked out.

What I recommend is that you go through you thermodynamics book and read it carefully highlighting the important points and summarizing them in a spare notebook. The first few chapters are full of indroductory concepts such as the state of a system, processes, closed and open systems, etc. That I reccomend you memorize(with understanding ofcourse) as these are carried on all throughout.

As chapters get more complex I recommend flow charts and mind maps with as much condensed information as possible.
Hope this helps <3
Help me and mark as brainliest plz

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)

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..

convert number 23.35 in to binary

Answers

00110010 00110011 00101110 00110011 00110101

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.

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

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

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.

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:

NO LINK plsssss just answer

1. What are some pendulum wave characteristics?

2. What are waves characteristics?

3. List characteristics that they both share

Answers

Answer:

Explanation:

NO LINKS
what was the main drawback of ford's assembly line
A.)the cars broke down quickly
B.)production of the cars required many hours of labor
C.) The cars required a lot of fuel to run
D.)production was not flexible​

Answers

Answer:

D. Im pretty sure at least. you're welcome

Fresh ideas or title to be researched for civil engineering individual final project for diploma students also can extend the topic later while doing degree as well? please help me I'm running out of time...​

Answers

Answer:

What type of projects do civil engineers work on?  

Civil engineers design major transportation projects. Civil engineers conceive, design, build, supervise, operate, construct and maintain infrastructure projects and systems in the public and private sector, including roads, buildings, airports, tunnels, dams, bridges, and systems for water supply and sewage treatment

Explanation:

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

A periodic digital waveform has a pulse width 25 and a period of 150 . Determine the frequency and the duty cycle

Answers

The frequency  is 6.67 kHz and the duty cycle is:16.67%.

Frequency and duty cycle

Given:

Pulse width=25

Period=150

Frequency:

Frequency=1/(150×10^-6)

Frequency=1/0.00015

Frequency=6.666 kHz

Frequency=6.67 kHz (Approximately)

Duty cycle:

Duty cycle=(25×10^-6)/ (150×10^-6)×100%

Duty cycle=16.67%

Therefore the frequency  is 6.67 kHz and the duty cycle is:16.67%.

Learn more about Frequency and duty cycle here:https://brainly.com/question/16030651

#SPJ1

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

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.

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:

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.

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:

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.

Write the Boolean expression of the output (X) for the below Logic Diagram.

Answers

X= A+B.C+D

I hope it helps

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

The current standard for recovery only equipment is sae

Answers

Explanation:

I think is SAE standard J2810

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

Other Questions
The average price of an item is $42 with a standard deviation of $3Find a 98% confidence interval about the mean (one decimal place).Is a value of X=48 unusually high or is it normal? Choose correct explanation! what are the most popular christmas tree decorations in china How did the convention of 1818 affect the boundaries of the United States? It drew a border between the United States and Canada extending to the Rocky Mountains. It gave the United States control of the natural resources and waterways of Oregon Country. It expanded the boundaries of the United States further west by opening up Texas. It gave Florida to the United States, along with a full control of the Atlantic coast. The President of the United States at the time of the Cuban Missile Crisis was _____. Franklin Roosevelt Dwight Eisenhower Richard Nixon John F. Kennedy. 13. This body system regulates body activities using homones. Slow response, tong lastingA. RespiratoryC. SkeletalB. MuscularD. Endocrine A 3.1 kg carton's GPE was increasing by 7.8 J as it was lifted above the ground. How high was it lifted? solve for x?????????? ( i will give branly to the best and the fastest so please help :D extra points as wellWhy did the British ban the colonies from using Boston Harbor in 1774? To develop economy within the colony To keep out diseases from Europe To limit immigration from France To make colonists pay for destroying shipments of tea Solve 5-2x True or False. The 'C' programming language guarantees that R0 will always contain a zero value on the ATmega328P Find the zeros of g(x) = x3 + x2 9x 9.A) x = 3, 1, 3B) x = 1, 3C) x = 3, 3D) x = 3, 1, 3 What does this picture represente? In Chapter 16 of Hatchet, a tornado directly hits Brian's shelter and Brian is left with nothing but the hatchet. How does Brian respond to this setback?1. Brian has a sense of humor about the tornado, and he feels motivated to rebuild his shelter.2. Brian remembers the decisions he made earlier and uses them to guide how he rebuilds his shelter.3. Brian's anger causes him to shut down at first, but he quickly realized the importance of recreating his shelter.4. Brian experiences despair because he is hurt and has nothing left without his shelter. One of the first tasks to do when creating a game is to describe the elements of the game to yourself. True False buenos dias! Como ______ the atomic number of four elements p,q,r,s are 6,8,10 and 12 respectively. the two elements which can bond ionically are: -X + 2y= -3 and -8x 3y= -5 1. Evaluate the composition of the Board of Directors in Bell Pottinger, based on best practices in corporate governance. Write 15.5 as a fraction in the simplest form and as a decimal You have a meal at a restaurant. The sales tax is 8%. You leave a tip for the waitress that is 20% of the pretax price. You spend a total of $23.04. What is the pretax price of the meal?The pretax price of the meal is $_______