Update hw4 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:01:32 -08:00
parent 07d34c0cd8
commit b24a264f7e
221 changed files with 846 additions and 746 deletions

View file

@ -0,0 +1,22 @@
string bar (int x, string y) {
var s = "This is a string";
var array = new int[]{1, 3};
var y = array[0];
return s;
}
void proc1 () {
proc2 ( );
return;
}
void proc2 ( ) {
proc1 ( );
return;
}
bool foo ( int x, int[] y ) {
var s = bar (x, "cis341");
proc1 ();
return true;
}