Variables
Variables are names associated with data.
Declaring variables: <type> <name>
<type> is either int, float, or char.
<name> is the name of the variable.
int sum; creates an integer variable named “sum”.
Previous slide
Next slide
Back to first slide
View graphic version