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

View file

@ -0,0 +1,15 @@
struct Point {
int x;
int y;
int z
}
global x = Point[] {Point {x = 3; y = 4; z = 5}, Point {x = 1; y = 2; z = 3}};
int program(int argc, string[] argv) {
var i = 0;
for (var j = 0; j < 2; j = j + 1;) {
i = i + x[j].y;
}
return i;
}