/* * Assignemnt1a.c * Chapter 2 * By: John Stile */ #include // include functions from stdio.h when compiling this program void getsum(int xx,int yy) // header for function getsum, takes 2 ints, returns nothing { printf("The sum of two numbers is %d\n", xx+yy); // print the calcluation of summing the values stored in xx and yy. } int main(void) // header for function main { int xx,yy; // declare 2 integers xx and yy xx=4; // assign value of 4 to xx yy=5; // assign value of 5 to yy getsum(xx,yy); // Call function getsum, passting it the value of xx and yy return 0; // exit value of progrma is 0 to caller (the shell) }