Challenge: Simple FunctionChallenge: Simple Function

Example of the function with arguments from the previous chapter

cpp

main.cpp

Task

  1. Create a simple add function (a+b).
  2. Test the function with x = 5, y = 10.

Everything was clear?

Section 5. Chapter 6
toggle bottom row