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

buenas noches es mi tarea de inglés alguien me puede explicar porfavorHe likes to teach, ________. *does he?doesn't he?wil he?won't he?She's eating a piece of c
PLZZZZZZZZZZZZZZZZZZZz
You deposit $1600 in a bank account. Find the balance after 3 years if account pays 4.2% annual interest. Round your answer to the nearest integer (whole number
I (listen) _______ to the news every day
Use the distributive property to simplify the expression 6(9+x)
How do Maria Thins and Catharina differ from one another?
Circle the cause and underline the effect. “The fisherman had to be rescued after his boat sank”
help please lol i don’t understand
1 point Consider the quote: "Ain't it something how bad these here white folks is getting here in Chicago! Lord, getting so you think you right down in Mississi
Please help. Is algebra.