Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

JavaScript if, else, and else if

if (hour < 18) {
  greeting = "Good day";
} else {
  greeting = "Good evening";
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #JavaScript
ADD COMMENT
Topic
Name
8+7 =