Write SPEC.md yourself
Step 1 of 3, about 10 minIn a new folder, write SPEC.md by hand. Keep it short:
# Tip splitter
Does: total, tip %, people -> amount each, rounded up to the cent.
Doesn't: currencies, saving history, accounts.
Examples:
- 100, 10%, 4 -> 27.50
- 45.20, 15%, 3 -> 17.33
- 0, 10%, 2 -> 0.00
Edge: people = 0 shows an error, not Infinity.
Work out the examples yourself with a calculator. That's the point: you decide what right looks like.
The part of a video worth watching for this step
Optional. The step counts when you've done it, whether or not you watch. Minutes from the creator's chapters; our notes on this video.