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 阅读(33) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2025 luohzzz Powered by .NET 9.0 on Kubernetes