gitweb on Svarog
projekti pod git sistemom za održavanje verzija -- projects under the git version control systemdiff --git a/samples/RekFac.mj b/samples/RekFac.mj
index 40817fd9b0f0e560c88f7cf03c9fa1fa2a2706d0..674cc14804aef54c9cc215dbf1c6c1a44b80467c 100644 (file)
--- a/samples/RekFac.mj
+++ b/samples/RekFac.mj
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 ;
}