first commit

This commit is contained in:
Jeena Paradies 2011-04-19 11:37:05 +02:00
commit 063194f8be
349 changed files with 36508 additions and 0 deletions

View file

@ -0,0 +1,16 @@
/* parity of positive integers by recursion */
int main () {
printInt(ev(17)) ;
return 0 ;
}
int ev (int y) {
if (y > 0)
return ev (y-2) ;
else
if (y < 0)
return 0 ;
else
return 1 ;
}