mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Initial commit
This commit is contained in:
8
examples/negate.c
Normal file
8
examples/negate.c
Normal file
@@ -0,0 +1,8 @@
|
||||
int foo(int x, int y, int z){
|
||||
if (!(x == y)) { return y; }
|
||||
else { return z; }
|
||||
}
|
||||
|
||||
int main() {
|
||||
return foo(0, 1, -1);
|
||||
}
|
||||
Reference in New Issue
Block a user