Answered step by step
Verified Expert Solution
Link Copied!

Question

00
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 with AI-Powered 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

Students also viewed these Databases questions