C.E/Java
add함수
숨[Breath]
2013. 10. 19. 09:53
출력값:132
public class pno2 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
int x=54,y=78;
int z=add(x,y);
System.out.println(z);
}
private static int add(int a,int b){
return a+b;
}
}