Martes, Pebrero 7, 2012

basic 7: if else statement

package basic;




public class Basic {


    public static void main(String[] args) {
        int yahoo = 6;
       
        if (yahoo == 20)
            System.out.println("perfect");
        else
            System.out.println("not perfect");
    }
}

Walang komento:

Mag-post ng isang Komento