Use the keyword return to return something in a function.
Here is an example, which returns an integer value of the two numbers added together:
int AddTogether(int a, int b) { return a+b; }
( Log in )