Question: what is the difference between program and function?
Answer: Functions must return a result, which can be graphed or entered in a table. Programs do not return a result. You can use a function (but not a program) within an expression. ... A function cannot call a program as a subroutine, but it can call another user-defined function.