Working on a newbie program and I have it where it does run and call a function. However if you enter values of 12 for area and 12 for height, the volume should be 48. This works properly without a function but with the function I get nothing for the value of volume. We have to do this as a "double".
Second issue is that without a function the program would pause in the DOS box with "press any key to continue". With the function it does not pause any more.
Am using Dev C++ 4.9 by Bloodshed software