Update hw5 to a newer version.

Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
Mariano Uvalle 2025-01-24 21:10:31 -08:00
parent b24a264f7e
commit 9224001a22
262 changed files with 2575 additions and 1442 deletions

13
hw5/hw4programs/run48.oat Normal file
View file

@ -0,0 +1,13 @@
global a = 1;
int f() {
a = a + 1;
return a;
}
int program (int argc, string[] argv) {
var b = new int[f()];
b[0] = f();
b[1] = f();
return a + b[0] + b[1];
}