Function
A function is used to modularize a program. In this way, we can divide a program into several parts. Each function performs a defined task in its structure.
- Function type: defines the return type of the function
- Function name: sets the function name.
- Add parameter: adds a new parameter to the function
- Parameter type: sets the name of the parameter.
- Parameter name: defines the parameter name