Function is a set of statements that take inputs, do some specific computation and produces output . Functions are created when certain statements are repeatedly occurring in the program and a function is created to replace them.
Function is a set of statements that take inputs, do some specific computation and produces output . Functions are created when certain statements are repeatedly occurring in the program and a function is created to replace them.