CIS 126 create a text-based


create a text-based, menu-driven program that allows the user to choose whether to add, subtract, multiply or divide two numbers. The program should then input two double values from the use, perform the appropriate calculation, and display the result. Use an array of function pointers in which each pointer represents a function that returns void and receives two double parameters. The corresponding functions should each display messages indicating which calculation was performed, the values of the parameters, and the result of the calculation.


Requirements:

Use proper naming convention, spacing and indentation in your source code

Your code should be well commented, with proper naming conventions and spacing

Utilization of the following structures: arrays, functions, and pointers.
Powered by