int z = 0; void myroutine(int x, y) // "void" tells the compiler that no value is returned { z = x + y; // add the values of the 2 defined parameters and assign the result to the global z } int myfunction(int x, y) // "int" tells the compiler that an integer value is returned { return(x + y); // add the values of the 2 defined parameters then return the result }