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

------------------
Record Types Lab
------------------

* Requirements

   - Create a record to measure distance in feet and inches

   - Create two distances in feet and inches

      + Make sure that the inch values when added together will be at least one foot
     
   - Add the two distances 

   - Print all three values

* Hints

   - Feet and inches should be different types

      + Does not makes sense to directly add inches to feet

   - Consider what happens when adding inches overflows

-----------------------------------------
Record Types Lab Solution - Declarations
-----------------------------------------

.. container:: source_include 060_record_types/lab/record_types/answer/main.adb :start-after:--Declarations :end-before:--Declarations :code:Ada :number-lines:1

--------------------------------------------
Record Types Lab Solution - Implementation
--------------------------------------------

.. container:: source_include 060_record_types/lab/record_types/answer/main.adb :start-after:--Implementation :end-before:--Implementation :code:Ada :number-lines:17
