Whirlwind Tour of Ada - Part 2a

Working with Primitive Types

average.adb

Primitive Types, Operators, Literals

Numeric Output, Keyword and Default Parameters

Type Attributes, Strong Type Checking



Working with Primitive Types



average.adb



Primitive Types



Operator Precedence and Associativity



Arithmetic Operators



Other Operators



Unary Minus



Literals



Numeric Output



Keyword Parameters



Default Parameters



More on the Use Statement



Type Attributes and Some Other Types



Strong Type Checking



Implicit and Explicit Conversions



Caution: Conversions and Integer and Floating Point Conversion



Type Checking Rules



Type Checking and I/O