Hey guys so this is exactly what i'm suppose to do. Write a function named avg that has three int parameters and returns a double representing the average of those three integers. Then write a simple driver in main to test the function.
I just don't know what to do to return the double as right now it just truncates to an int. But this is what i got so far.
thanks!