If

 package conditionalStatements;


public class IfClass {


public static void main(String[] args) {


int age = 19;

if(age >= 18) {

System.out.println("You Can Vote");

}

}


}


Comments

Popular posts from this blog

Type Casting

Arithmetic

Pattern 1