#include /* This program will add two integers and print out the sum */ main() { /* The next line defines the existence of three variables: variable1, variable2, variable3 */ /* The declaration is preceeded by the word "int". This word states that the variable is to hold an integer */ int variable1; int variable2; int variable3; /* The next line puts a "2" into variable1 */ variable1 = 2; /* The next line puts a "3" into variable2 */ variable2 = 3; /* The next lines: takes the 2 from variable1, takes the 3 from variable2, adds them, puts that sum in variable3 */ variable3 = variable1 + variable2; /* The next line prints out the sum */ /* %d is a format. When the CPU encounters the %d, it stops, goes to the first item after the comma, extracts the value of the variable3 and then prints it. */ printf("The sum is %d\n", variable1, variable2, variable3); } /* Try adding these lines: printf("the sum of %d and %d is %d\n", variable1, variabl2, variable3) */