C++ for Mac (Xcode)
For this exercise, you will write a program that includes fourfunction definitions. You will also write a main() function thatcalls these four functions to demonstrate that they work asexpected.
The four functions are:
1. printExitMessage() : This function prints a message to thescreen saying something like \"Thanks for using this software.Goodbye.\"
2. getMin(): This function takes two float inputs and returnsthe lesser of the two float values. For example, if the argumentsto the function were -1.0f and 1.0f, it would return -1.0f.
3. getAbsoluteValue(): Takes an int argument, and returns theabsolute value of that int. If you don't know what absolute valueis, search for it on the web (it is really simple). Hint:multiplying by -1 will give you the positive version of a negativenumber.
4. isEven(): Takes an int argument and returns a bool value:true if the number is even, false if the number is odd. Hint: x % 2== 0 will be true if the number is even, false if odd.
Don't forget to call each of your four functions in main() tomake sure they work.