My stooped C++ Calculator is disobedient!

Hey Tek. I made a C++ calc. as a small project. I want to add something, but don't know how exactly. That's where you guys come in.

Below is the code. After the division calculation, I wanna add an extra condition where if someone enters something that isn't in the options (1, 2, 3, or 4) that the program goes back and asks.... what do? What DO? xD

#include <iostream>
using namespace std;
int main() {

double one, two, operation, result;
char ans;

cout << "This is a badass calculator. It calculates shiet!\n";
cout << endl;
do {
cout << "Enter the two numbers that'll be calculated:\n";
cout << "Number one: ";
cin >> one;
cout << "Number two: ";
cin >> two;

cout << endl;

cout << "To add, press one.\n";
cout << "To subtract, press two.\n";
cout << "To multiply, press three.\n";
cout << "To divide, press four.\n";

cin >> operation;

if (operation == 1){

result = one + two;

cout << "This addition results in " << result << "!\n";
}
if (operation == 2){

result = one - two;

cout << "This subtraction results in " << result << "!\n";
}
if (operation == 3) {

result = one * two;

cout << "This multiplication results in " << result << "!\n";
}
if (operation == 4)
{
result = one / two;

cout << "This division results in " << result << "!\n";
}
if (operation == !1 || !2 || !3 || !4){

cout << "Read the damn instructions!" << endl;

}
cout << endl;
cout << "Do you ackowledge this as the best calculator in the world " << endl;
cout << "and would like to use it again? Y/N" << endl;
cin >> ans;
} while (ans == 'y' || ans == 'Y');
cout << "Consoles LOL" << endl;

return 0;
}

 

... Oh gawd use pastebin...

sorry... xD http://pastebin.com/VU4NrXHR =D

Replace lines 26 to 54 with this http://pastebin.com/wPY5JekJ and change "operation" variable to int.

Awesome! That worked like a charm! Now, Say I want to go back and send the user to line 20, where he will be prompted again... How do I work that out?

Proper way: add a loop (line 20 and 52). http://pastebin.com/CNgvXuqa

Improper way:

Add a label before menu is printed and add goto statement to it to default case in switch statement. You can read about the syntax here http://msdn.microsoft.com/en-us/library/b34dt9cd.aspx