public class Z { static int ZH(int x,int y){ if(x==1||y==1)return 1; return ZH(x-1,y)+ZH(x,y-1); } public static void main(String[] args) { // TODO 自动生成的方法存根 System.out.println(ZH(5,4)); /* * 从我做起振 我做起振兴 做起振兴中 起振兴中华 */ } }