- WSHE I TAKIE TA< http://www.wshebytom.pun.pl/index.php - Offtopic http://www.wshebytom.pun.pl/viewforum.php?id=4 - ggry http://www.wshebytom.pun.pl/viewtopic.php?id=10
han2 - 2008-07-05 15:49:01
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;}