Here is what I came up with this might help yea some.

Code:

#include <iostream>
#include <string>
using namespace std;
void diviminus(string );
void multiplus(string );
void calc();
int main()
{
string a;
cout << "Do you wish to use the Calculator? Y/N: ";
cin >> a;
if (a == "Y" || a == "y")
{
while (a == "Y" ||a == "y")
{
calc();
cout << "Would you like to use the calculator again? Y/N: ";
cin >> a;
}
}
else
{
cin.ignore(80,'\n');
return 0;
}
}
void multiplus(string cal)
{
float a;
float b;
float c;
if (cal == "multiply" || cal == "Multiply")
{
cout << "Input a number: ";
cin >> a;
cout << "Input a second number: ";
cin >> b;
c = a * b;
cout << a << " times " << b << " equals " << c << ".";
cin.ignore(80,'\n');
cin.get();
}
else if (cal == "add" || cal == "Add")
{
cout << "Input a number: ";
cin >> a;
cout << "Input a second number: ";
cin >> b;
c = a + b;
cout << a << " plus " << b << " equals " << c << ".";
cin.ignore(80,'\n');
cin.get();
}
}
void diviminus(string cal) {
float a;
float b;
float c;
if (cal == "divide" || cal == "Divide") {
cout << "Input a number: ";
cin >> a;
cout << "Input a second number: ";
cin >> b;
c = a / b;
cout << a << " divided by " << b << " equals " << c << ".";
cin.get();
}
else if (cal == "subtract" || cal == "Subtract") {
cout << "Input the number you want to subtract from: ";
cin >> a;
cout << "Input the amout you with to subtract: ";
cin >> b;
c = a - b;
cout << a << " minus " << b << " equals " << c << ".";
cin.ignore(80,'\n');
cin.get();
}
}
void calc()
{
string cal;
int cas;
cout << "Do you want to add, subtract, multiply, or divide?\n";
cin.ignore(80,'\n');
cin >> cal;
if (cal == "add" || cal == "Add")
{
multiplus(cal);
}
else if (cal == "subtract" || cal == "Subtract")
{
diviminus(cal);
}
else if (cal == "multiply" || cal == "Multiply")
{
multiplus(cal);
}
else if (cal == "divide" || cal == "Divide")
{
diviminus(cal);
}
else
{
cout << "I'm sorry, please try again.";
calc();
}
}