/**
条件声明需要程序指定一个或者多个条件进行判断，如果条件被确定为真，则要执行一个或多个语句；如果条件被确定为假，则要执行其他语句。
if
if/else
switch
*/
int a = 2 
if (a<100) { 
    //If the condition is true print the following statement 
    println("The value is less than 100"); 
} else { 
    //If the condition is false print the following statement 
    println("The value is greater than 100"); 
} 

switch(a) {            
        //There is case statement defined for 4 cases 
        // Each case statement section has a break condition to exit the loop         
        case 1: 
        println("The value of a is One"); 
        break; 
        case 2: 
        println("The value of a is Two"); 
        break; 
        case 3: 
        println("The value of a is Three"); 
        break; 
        case 4: 
        println("The value of a is Four"); 
        break; 
        default: 
        println("The value is unknown"); 
        break; 
    }