Hello,
I am very new to C++ programming. We are learning about value returning functions and the assignment is:
Create the Following Menu in a loop so the menu will continually show until the user chooses to exit.
1. Add
2. Multiply
3. Exit
Add a value returning function to menu option 1 and menu option 2. This means that you will create two functions: an Addition function and a Multiplication function. The functions will receive two doubles and return a double.
Below is the code I have written which will not compile. Any help would be greatly appreciated. Thanks!
#include <iostream>
#include <iomanip>
using namespace std;
int options ();
int options1 ();
int options2 ();
int options3 ();
double addition (double num1, double num2);
double multiplication (double num1, double num2);