first commit
This commit is contained in:
commit
063194f8be
349 changed files with 36508 additions and 0 deletions
15
tester/testsuite/good/core016.jl
Normal file
15
tester/testsuite/good/core016.jl
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* parity of positive integers by loop */
|
||||
|
||||
int main () {
|
||||
int y = 17;
|
||||
while (y > 0)
|
||||
y = y - 2;
|
||||
if (y < 0) {
|
||||
printInt(0);
|
||||
return 0 ;
|
||||
}
|
||||
else {
|
||||
printInt(1);
|
||||
return 0 ;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue