[gesamt] Added and adopted Testcases from SS09
[testub10.git] / gesamt / old_abgabe_ch.0
diff --git a/gesamt/old_abgabe_ch.0 b/gesamt/old_abgabe_ch.0
new file mode 100644 (file)
index 0000000..17b35f3
--- /dev/null
@@ -0,0 +1,10 @@
+method tarai(x y z)
+  if y<x then
+    return tarai(
+      tarai(x-1,y,z),
+      tarai(y-1,z,x),
+      tarai(z-1,x,y));
+  else
+    return y;
+  end;
+end;