if
statement so that if age_class
is equal to
“sapling” it sets y <- 10
and if age_class
is equal to “seedling” it
sets y <- 5
and if age_class
is something else then it sets the value of
y <- 0
.
age_class = "adult"
if (){
}
y
y
?