Sha256: 6dded0b4b77e0e09eadf525e03a49623f19522f2f82f47c468c99b2987bc8cc2
Contents?: true
Size: 912 Bytes
Versions: 1
Compression:
Stored size: 912 Bytes
Contents
# Two Fer `Two-fer` or `2-fer` is short for two for one. One for you and one for me. ``` "One for X, one for me." ``` When X is a name or "you". If the given name is "Alice", the result should be "One for Alice, one for me." If no name is given, the result should be "One for you, one for me." ## Instructions Submissions are encouraged to be general, within reason. Having said that, it's also important not to over-engineer a solution. It's important to remember that the goal is to make code as expressive and readable as we can. Run the tests with: bats two_fer_test.sh ## Source This is an exercise to introduce users to basic programming constructs, just after hello World. [https://en.wikipedia.org/wiki/Two-fer](https://en.wikipedia.org/wiki/Two-fer) ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
trackler-2.2.1.86 | tracks/bash/exercises/two-fer/README.md |