Joseph Daniel
New member
The code is below:
#include <iostream>
using namespace std;
void MenuOptions (char );
int main () {
MenuOptions ();
system ("pause");
return 0;
}
void MenuOptions (char ) {
cout <<"Basic Mathematical Operations"<<endl;
cout <<" a. Set the Integers"<<endl;
cout <<" b. Get the Sum"<<endl;
cout <<" c. Get the Difference"endl;
cout <<" d. Get the Product"<<endl<<endl;
cout <<"Enter choice (q to quit):"
cin >>choice;
}
#include <iostream>
using namespace std;
void MenuOptions (char );
int main () {
MenuOptions ();
system ("pause");
return 0;
}
void MenuOptions (char ) {
cout <<"Basic Mathematical Operations"<<endl;
cout <<" a. Set the Integers"<<endl;
cout <<" b. Get the Sum"<<endl;
cout <<" c. Get the Difference"endl;
cout <<" d. Get the Product"<<endl<<endl;
cout <<"Enter choice (q to quit):"
cin >>choice;
}