subject

Something is wrong with the logic in the program above. for which values of time will the greeting "good morning! " be displayed? var time = promptnum("what hour is it (on a 24 hour clock)? "); var greeting = ""; if (time < 6) { greeting = "it is too early! "; } else if (time < 20) { greeting = "good day! "; } else if (time < 10) { greeting = "good morning! "; } else { greeting = "good evening! "; } console. log(greeting);

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:30
The most common battery cable terminal is a that provides a large surface contact area with the ability to tighten the terminal onto the battery post using a nut and bolt.
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Kto rozmawia z clamentain przez krótkofalówke w the walking dead która śledzi lee w 4 epizodzie
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
You are consulting for a beverage distributor who is interested in determining the benefits it could achieve from implementing new information systems. what will you advise as the first step?
Answers: 1
You know the right answer?
Something is wrong with the logic in the program above. for which values of time will the greeting "...
Questions
question
Health, 12.03.2020 23:01
question
Mathematics, 12.03.2020 23:01