Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

if else statement

int age = 30;

if(age >= 30 && age <= 80){
	System.out.println("Old");
    
}else if(age < 30 && >= 1){
	System.out.println("Young");
    
}else{
	System.out.println("Not Supported");
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
6+8 =