From 1851f5e76018ec1df3b55dce6cc9a64c9497bf7a Mon Sep 17 00:00:00 2001 From: bd-912 Date: Fri, 26 Apr 2024 15:50:38 -0600 Subject: Rearrange directory structure --- typecheck/tests/Factorial.java | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 typecheck/tests/Factorial.java (limited to 'typecheck/tests/Factorial.java') diff --git a/typecheck/tests/Factorial.java b/typecheck/tests/Factorial.java deleted file mode 100644 index d938bb6..0000000 --- a/typecheck/tests/Factorial.java +++ /dev/null @@ -1,16 +0,0 @@ -class Factorial{ - public static void main(String[] a){ - System.out.println(new Fac().ComputeFac(10)); - } -} - -class Fac { - public int ComputeFac(int num){ - int num_aux ; - if (num < 1) - num_aux = 1 ; - else - num_aux = num * (this.ComputeFac(num-1)) ; - return num_aux ; - } -} -- cgit v1.2.3