laurenheffernans laurenheffernans
  • 10-11-2020
  • Computers and Technology
contestada

When do you use an else statement?

Respuesta :

jacksonslays
jacksonslays jacksonslays
  • 10-11-2020

Answer: In JavaScript we have the following conditional statements: Use if to specify a block of code to be executed, if a specified condition is true. Use else to specify a block of code to be executed, if the same condition is false. Use else if to specify a new condition to test, if the first condition is false.

Explanation:

Answer Link

Otras preguntas

A news report says that 9% of middle school students are on the track team. There are 600 students in your middle school. How many students in your school would
The P in SOAP stands for Persuasion. a. True b. False
when you divide a whole number by a fraction with a numerator of 1 how can you find the quotient
To function properly, a rainwater outflow pipe must drop exactly 1 inch for every 25 inches of horizontal distance. A 40 feet long rainwater pipe runs under the
If the perimeter of an equilateral triangle is 15 cm, what is the length of each side?
what is the greatest common factor of 12x+20
What does rebellious mean?
What can you infer from the fact that historians think the Treaty of Versailles might have led to World War II? A The penalties of the Treaty imposed on G
Which of the following represents "the square of the sum of a number and 4 is 36"?
What is the solution of log3x − 725 = 2?