#Mastery12

Functions are really useful when you want to structure and organize a program. Stating functions is really easy because you only need to write the type of value that the function will return and between “()” you declare the parameters.

Here you can see a picture of an example:

In this link you can find a pp that I did to explain how to create functions with detail: https://drive.google.com/file/d/0B-NM4ghaDXBvT0hGVmtHM3FDMms/view?usp=sharing

Also, here you can find my c++ code: https://drive.google.com/file/d/0B-NM4ghaDXBvVVI2Nmw3bUNVb0U/view?usp=sharing

Finally, in this link I found useful information to understand this, and I used that information to do my pp: http://www.cplusplus.com/doc/tutorial/functions/

 

CC BY 4.0 #Mastery12 by Tania Pardo is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.