Function-a program (subprogram) of one type are calculated for a value when the value, then that value must be sent back to the main program (main program)
Function - a sub program (subprogram) type, with a duty to calculate value. When value but to send value is returned to the program. Main (main program).