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

16/8 into a mixed number
write 900,000 in scientific notation
Please Help Me Which numbers belong to the domain of the relation {(0, –4,) (–6, 2), (2, –1), (0, –6)}? Choose all answers that are correct. A. 2 B. 0 C. –4
Lindsay paid $4.40 for 1 gallon of ice cream. At this rate what would 1 quart cost? What would 1 pint cost?
PLEASE HELP I DON'T GET THIS AT ALL Which relations are functions? Choose all answers that are correct.
In which sentence is the underlined word the proper adjective formed from Asia? A. We visited an Asia's art museum last week. B. We visited an Asia art museum
From a list of ten books, how many groups of 4 books can be selected
The cities of Mohenjo-Daro and Harappa achieved all of the following EXCEPT:
what is the definition of geologic history
A seedling grows 3 centimeters per week. how tall will the seedling be after 35 days?