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

----------------------
Ada.Text_IO Lab
----------------------
   
* Requirements
   
   - Create an enumerated type
   - Use the console to query the user how many inputs (N) will follow
   - Use the console to query the user N times for an enumeral
   - If the enumeral is valid, write the index and enumeral to a file

      * Else write an error message to the console

   - When all inputs were read, echo the file to the console

* Hints

   - Use instantiations of the type-specific I/O packages to handle console queries

      * Better error handling

   - Use Text_IO to echo the file to the console
 
----------------------------------------------
Ada.Text_IO Lab Solution
----------------------------------------------

.. container:: source_include 890_ada_text_io/lab/ada_text_io/answer/main.adb :code:Ada :number-lines:1

