Added quiz 6 (and the trumpeting sounds grow louder)

This commit is contained in:
Dave Gauer
2021-02-28 13:51:33 -05:00
parent 5f7e9389d5
commit 0552a62896
4 changed files with 112 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
28a29,31
> pub fn getTrunk(self: *Elephant) *Elephant {
> return self.trunk.?;
> }
30,31c33,35
< ???
<
---
> pub fn hasTrunk(self: *Elephant) bool {
> return (self.trunk != null);
> }