Martes, Pebrero 7, 2012

basic 12: nested if

package basic;




public class Basic {
    public static void main(String[] args) {
    int people = 66;
    
    if (people < 20){
        System.out.println("your group need more people" );
    }else{
        System.out.println("this will do");
        if (people >75){
            System.out.println("your group will sure be org now");
        }else{
            System.out.println("your group will be form sooner");
        }
        }
    }
}

Walang komento:

Mag-post ng isang Komento