diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-10 23:40:25 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-10 23:40:25 -0600 |
commit | 1080b37bbe40fe56b919d22804c159cccdca3c95 (patch) | |
tree | 8ddbb9528f575e537f925b266c8f366be6acc8b7 /vaporize/tests/Factorial.java | |
parent | 61a28b7f8e709d1884ccab15f0dc38ed19dfde70 (diff) |
Library rename, created A4 directories
Diffstat (limited to 'vaporize/tests/Factorial.java')
-rw-r--r-- | vaporize/tests/Factorial.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vaporize/tests/Factorial.java b/vaporize/tests/Factorial.java deleted file mode 100644 index d938bb6..0000000 --- a/vaporize/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 ;
- }
-}
|