public class tr { public int dg(10) { dg(1)=1; dg(2)=2; dg(1)*dg(2); return dg(n)*dg(n-1); } public static void main(String []args) { System.out.println("10!="+dg(10)); } }