WSHE I TAKIE TA<

Opis forum


#1 2008-07-05 15:49:01

han2

Administrator

Zarejestrowany: 2007-11-18
Posty: 8
Punktów :   

ggry

public class yyy {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub

       
        int a = Integer.parseInt(args[0]);
        int b = Integer.parseInt(args[1]);
        int c = Integer.parseInt(args[2]);
        int d = Integer.parseInt(args[3]);
        int parz =0;
        if(a%2==0){
            parz = parz +1;}
            if(b%2==0){
                parz = parz +1;}
                if(c%2==0){
                    parz = parz +1;}
                    if(d%2==0){
                        parz = parz +1;}
   
           
                System.out.print(parz);
    }
   
    }

Offline

 

Stopka forum

RSS
Powered by PunBB
© Copyright 2002–2008 PunBB
Polityka cookies - Wersja Lo-Fi


Darmowe Forum | Ciekawe Fora | Darmowe Fora
www.arenazerqv.pun.pl www.avatar2009.pun.pl www.navigator.pun.pl www.jlb-clan.pun.pl www.elitarnipogromcyzla.pun.pl