Add all the assignment code.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 18:59:28 -08:00
parent 58c6b1f81c
commit cfe502c598
1277 changed files with 48709 additions and 1 deletions

13
hw5/oatprograms/fac.oat Normal file
View file

@ -0,0 +1,13 @@
int f(int i) {
var r = 0;
if (i == 0) {
r = 1;
} else {
r = i * f (i-1);
}
return r;
}
int program (int argc, string[] argv) {
return f (5);
}