Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

elif java

int time = 22;
if (time < 10) {
  System.out.println("Good morning.");
} else if (time < 20) {
  System.out.println("Good day.");
} else {
  System.out.println("Good evening.");
}
// Outputs "Good evening."
 
PREVIOUS NEXT
Tagged: #elif #java
ADD COMMENT
Topic
Name
6+5 =