float calcProduct(float x, float y) { // a non-void function with arguments // multiply the "passed arguments, x and y" as usual: float product = x * y; // but this time, return the value to the variable that called it: return product; }