Files
agila-learning-examples/en/ada-functions-and-packages/README.md
T

10 lines
487 B
Markdown

# A reusable study-plan calculation
Build and test a small lesson-count component. Start with the nested function; optionally extract it into an Ada package in a local multi-file project.
- State the Total/Done policy without referring to source code.
- Check (0,0), (4,0), (4,3), (4,4), and (4,5).
- Explain why the subtraction is reached only when Done is below Total.
- Keep calculation separate from output.
- Include a review note explaining one design choice and one limitation.