/** Exercise: * 1. Declare variables * 2. Assign values to the variables * 3. Display the variable values */ void main(){ // declare variables. // or, create "placeholders" in memory float my_float; int my_int; long my_long; // assign values to the variables. // or, store values in the placeholders my_float = 5.0; my_int = 3; my_long = 1100L; // let's see what is stored in memory printf("my_float: %f\n", my_float); printf("my_int: %d\n", my_int); printf("my_long: %l\n", my_long); // alter what is already in memory my_int = 3 * (2 + my_int); // now what value is stored in my_int? printf("my_int: %d\n", my_int); }