========
Lab
========

-----------------
Expressions Lab
-----------------

* Requirements

   - Allow the user to fill a list with dates
   - After the list is created, create functions to print True/False if ...

      * Any date is not legal (taking into account leap years!)
      * All dates are in the same calendar year

   - Use *expression functions* for all validation routines

* Hints

   - Use subtype membership for range validation
   - You will need *conditional expressions* in your functions

-----------------------------------
Expressions Lab Solution - Checks
-----------------------------------

.. container:: source_include 080_expressions/lab/expressions-intro/answer/main.adb :start-after:--Checks :end-before:--Checks :code:Ada :number-lines:4

---------------------------------
Expressions Lab Solution - Main
---------------------------------

.. container:: source_include 080_expressions/lab/expressions-intro/answer/main.adb :start-after:--Main :end-before:--Main :code:Ada :number-lines:52
