Question: Write a program called PointerCalc.cpp. The program should have functions for add, subtract, multiply, and divide. Each of these four functions will take in two
Write a program called PointerCalc.cpp. The program should have functions for add, subtract, multiply, and divide. Each of these four functions will take in two pointers to doubles as arguments. You must demonstrate the program works by writing a main that sufficiently tests each function. In this case, to sufficiently test, you should look at numbers bigger and smaller than 1 and also negatives and positives
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
