Sha256: cbe10506f74a9d2643a50364de1a556f9ff0abee902c0c67b01389d68c61cfaf
Contents?: true
Size: 1.19 KB
Versions: 166
Compression:
Stored size: 1.19 KB
Contents
# Two Fer Create a sentence of the form "One for X, one for me." `Two-fer` or `2-fer` is short for two for one. One for you and one for me. ```plain "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." ### Submitting Exercises Note that, when trying to submit an exercise, make sure the exercise file that you're submitting is in the `exercism/csharp/<exerciseName>` directory. For example, if you're submitting `bob.cs` for the Bob exercise, the submit command would be something like `exercism submit <path_to_exercism_dir>/csharp/bob/bob.cs`. ## 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) ## Hints - Input for the problem is passed an Option. If you're not familiar with options in F# you can read more about them [here](https://fsharpforfunandprofit.com/posts/the-option-type/). ## Submitting Incomplete Solutions It's possible to submit an incomplete solution so you can see how others have completed the exercise.
Version data entries
166 entries across 166 versions & 1 rubygems