gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
ant, variation generation, delete folder on reruns
[mjc2wsl.git] / samples / RekFac.mj
index 40817fd..674cc14 100644 (file)
@@ -2,8 +2,10 @@ program RekFac{
 
        int factorial(int f)
        {
-               if (f<0) return 0;
-               if (f<=1) return 1;
+               if (f<0) 
+                       return 0;
+               if (f<=1) 
+                       return 1;
                return factorial(f-1) * f ;
        }
        
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner