Whirlwind Tour of Ada - Part 3a

Structured Statements

Input of Integers and Characters





getcountpzn.adb



Subtype Natural



Constants and Multiple Declarations



For Loops



More on For Loops



If Statements



Compound Parts of If Statements



Contrast elsif and else if



Case Statement



Ada.Integer_text_io.get



Standard Input



Redirecting Standard Input



Testing for End of File



geteofcountpzn.adb



While loop



Interactive I/O and End of File



Interactive I/O: Using Prompts and EOF



General Loops, Sentinal Loops, Loop and a Half



Character Input