Commit d431e629 authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen

Merge branch 'master' of ssh://vo20.nl/git/uva

parents fee982ab a12c904c
......@@ -50,8 +50,8 @@ void sequence(int generations, int max_age) {
int i;
rabbit *r, *next = NULL;
printf("0");
rabbits = rabbit_born();
printf("1");
for( i = 1; i < generations; i++ ) {
for( r = rabbits; r != NULL; r = next ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment