Whenever I run my program instead of doing the calculation, it just skips it. Also when I run my program Visual C++ doesn't give me any errors.
Here is my code:
You aren't actually calling the function. On line 29 you are declaring a variable of type double called AreaOfCircle. I'm not really sure what the '(20)' is doing in this context - I'm kind of surprised that it compiles.
To call the function, remove the 'double' on line 29. Leading the line with a type name makes that line a variable declaration. But just calling it won't do anything for you because you aren't capturing the return value and doing anything with it. So you need to declare a double value for the return value of the function, assign the return value of the function to it, and then output the return value.
Also - your formula for the area of a circle is incorrect.