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

----------------
Containers Lab
----------------

* Requirements

   - Create a database of various information about various cities
   - Populate the database

      - No requirement to add all information for each city at the same time

   - Print the database

      - For extra credit: Cities / information should be sorted

* Hints

   - Use a **map** ADT to organize data by city
   - Multliple methods to organize city information

      - Array, list, vector, etc

-------------------------------------------
Containers Lab Solution - Database (Spec)
-------------------------------------------

.. container:: source_include 894_ada_containers/lab/ada_containers/answer/city_trivia.ads :code:Ada :number-lines:1

--------------------------------------------------
Containers Lab Solution - Database (Body 1/2)
--------------------------------------------------

.. container:: source_include 894_ada_containers/lab/ada_containers/answer/city_trivia.adb :start-after:--Database_Body_1 :end-before:--Database_Body_1 :code:Ada :number-lines:1

----------------------------------------------
Containers Lab Solution - Database (Body 2/2)
----------------------------------------------

.. container:: source_include 894_ada_containers/lab/ada_containers/answer/city_trivia.adb :start-after:--Database_Body_2 :end-before:--Database_Body_2 :code:Ada :number-lines:1

--------------------------------
Containers Lab Solution - Main
--------------------------------

.. container:: source_include 894_ada_containers/lab/ada_containers/answer/main.adb :code:Ada :number-lines:1
