Exercise - Demonstrate your knowledge of imports.
ImportsExercise
. It should import
a copy of SillyStringUtils
Haiku
called haiku
.
Add the following two functions.
saveHaiku
should accept three strings and save them as the lines of haiku
.
getHaiku
should return the haiku as a Haiku
type.
public
struct
s, but these return each member individually. Create your own getters to return the type.shruggieHaiku
should use the library to add 🤷 to the end of line3
. It must not modify the original haiku. It should return the modified Haiku
.