Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can i have help with this javascript problem? it has to be printed to the console using console.log(). Thanks! 4. Write code that prints: o

can i have help with this javascript problem? it has to be printed to the console using console.log(). Thanks!
image text in transcribed
4. Write code that prints: o "good morning" if the current time is after 5am but before noon o "good afternoon" if after noon but before 5pm o "good evening" if after 5pm but before midnight "go to bed" in any other situation

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions