Discussion Outline
- Answer any remaining questions about accounts, pine, or text editors.
- Remind students to send you their email with name, SSN & section, if they
haven't done so already.
- Anatomy of a simple C program
- 3 Basic Data types of C
- integer
- floating-point
- character
- printf and scanf
- operators, including, %, ++, --, +=, -=, etc.
- == vs =
- Mixing types:
integer division and use of the cast operator, i.e. (double)
truncation of floating-point into int
- if, if/else
- while loops