what is program and it's function
Answers
Answer:
A function is a block of organized, reusable code that is used to perform a single, related action. ... Different programming languages name them differently, for example, functions, methods, sub-routines, procedures, etc.
Answer:
A function is a block of organized, reusable code that is used to perform a single, related action. ... Different programming languages name them differently, for example, functions, methods, sub-routines, procedures, etc.
What is difference between program and function?
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.
hope it helps....