Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
58c6b1f81c
commit
cfe502c598
1277 changed files with 48709 additions and 1 deletions
14
hw6/hw5programs/tc_eq2.oat
Normal file
14
hw6/hw5programs/tc_eq2.oat
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
struct S {int x; bool y}
|
||||
struct T {int x; bool y}
|
||||
|
||||
int program(string[] args) {
|
||||
var z = 0;
|
||||
var s = new S{x=3;y=true};
|
||||
var t = new T{x=3;y=true};
|
||||
if (s == t) {
|
||||
z = 17;
|
||||
} else {
|
||||
z = 3;
|
||||
}
|
||||
return z;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue