Professional Documents
Culture Documents
Iván Amaya
CONTENTS
FUNCTIONS
FUNCTION DEFINITION
FUNCTION USAGE
FURTHER READING
COMPUTER PROGRAMMING – SESSION 11 IVÁN MAURICIO AMAYA CONTRERAS 2
FUNCTIONS
Allow reusing computer code
Improves readability
B: Whole definition
All functions must define the data type to be returned and the data type of
its arguments
Remember to initialize the random seed and analyze the resulting data. Are
those values expected? What is happening and why?