CHAPTER 4

CHAPTER 4

FUNCTION

In this chapter, there are predefined library functions and user- defined function. I learned to convert mathematical formula into C++ statement using predefined function. In user-defined functions it has passing data by value (passing by value) and passing data by reference (passing by references).  Lastly, functions can results through a function’s arguments.