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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!