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, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Of the following pieces of information in a document, for which would you most likely insert a mail merge field?
Answers: 3
question
Computers and Technology, 23.06.2019 21:30
Enzo’s balance sheet for the month of july is shown. enzo’s balance sheet (july 2013) assets liabilities cash $600 credit card $4,000 investments $500 student loan $2,500 house $120,000 mortgage $80,000 car $6,000 car loan $2,000 total $127,100 total $88,500 which expression finds enzo’s net worth?
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
History, 05.01.2021 19:50
question
Mathematics, 05.01.2021 19:50
question
Mathematics, 05.01.2021 19:50
Questions on the website: 13722363