WHAT IS A FUNCTION?
Calling Function
Parameters
Return Value
When you write a function and you expect it to provide you with an answer.
A BASIC FUNCTION
kindly see the below image to read more about the basic.

How to declare a function
To create a function, you give it a name and then write the statements needed to achieve its task inside the curly braces.

Calling a function
Having declared the function, you can then execute all of the statements between its curly braces with just one line of code.

see the image below.

When you call a function that has parameters, you sepcify the calues it should use in the paranthese that follow its name.
