Addition::Addition()
{
double plus;
double total = 0;
string input;
cout << "Simple Calculator v1.1 - Addition \n" << endl;
cout << "What is the first number you would like to add? (-1 to cancel)" << endl;
cin >> plus;
while(plus != -1)
{
total = total + plus;
cout << "What is the next number you would like to add?" << endl;
cin >> plus;
total = total + plus;
}
total = total - 1;
cout << "Your numbers you have entered equal to " << total << endl << endl;
cout << "Would like like to do another sum? y/n" << endl;
cin >> input;
if(input == "Y" || input == "y")
{
//This is where I want it to return to main()
}
}