A function can have zero to many parameters, and it can have Only one return value. A function is a collection of statement that perform a specific task. A function definition contains the statements that make up the function. Functions are ideal for menu-driven programs. When the user selects an item, the program can call the appropriate function.