diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-26 15:50:38 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-26 15:50:38 -0600 |
commit | 1851f5e76018ec1df3b55dce6cc9a64c9497bf7a (patch) | |
tree | 30f629f7b137a494d4202487f4e22df2d9456481 /typecheck/tests/FactorialEdit.java | |
parent | 012298517078170762112abe2654dc69b2f146e1 (diff) |
Rearrange directory structure
Diffstat (limited to 'typecheck/tests/FactorialEdit.java')
-rw-r--r-- | typecheck/tests/FactorialEdit.java | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/typecheck/tests/FactorialEdit.java b/typecheck/tests/FactorialEdit.java deleted file mode 100644 index 919ed82..0000000 --- a/typecheck/tests/FactorialEdit.java +++ /dev/null @@ -1,20 +0,0 @@ -class Factorial{ - public static void main(String[] a){ - System.out.println(new Fac().ComputeFac(10)); - } -} - -class Fac { - int[] useless_var ; - 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 ; - } -} - -class Fac2 extends Fac { -} |