I am in need of some examples of writing functions. The way it is stated in my book is kinda confusing. I dont know if I have to return a value or not. I dont understand if it is necessary to use the general form of a function returning a value since I really dont understand the form that is used.
Could anyone give some examples of functions and returning value functions?