package ff;public class Dome6 { public static void main(String[] args) { System.out.println(f(4)); } public static int f(int n){ if (n==1); return 1; } else { return n*f(n-1); }}
posted on 2021-04-24 22:33 luohzzz 阅读(38) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3