Add One Function
For this homework you'll write a simple function, a reusable piece of code that allows us to build more complex computer programs.
We're going to start simple. Declare and implement a function called
addOne. Your function should accept a
int argument and return the result of adding one to its argument.