Closed jonnymoore12 closed 8 years ago
We are instructed to "have the tree die after 25 years", so counting the age of our tree from 0, it should die as soon as @age = 25, right?
The solution provided sets @alive = false only when @age > 25, but it should be when @age >= 25, right?
We are instructed to "have the tree die after 25 years", so counting the age of our tree from 0, it should die as soon as @age = 25, right?
The solution provided sets @alive = false only when @age > 25, but it should be when @age >= 25, right?