5. Write a JAVASCRIPT program that prints the message "Booyah! it's Weekend." if the current day is Saturday or Sunday. Otherwise, the program should print the message, "I need to work!.".

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter2: Using Data
Section: Chapter Questions
Problem 13E: Write a program named MakeChange that calculates and displays the conversion of an entered number of...
icon
Related questions
Question
100%

5. Write a JAVASCRIPT program that prints the message "Booyah! it's Weekend." if the current day is Saturday or Sunday. Otherwise, the program should print the message, "I need to work!.".

Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,