ok so if i have somthing like
#include <iostream>
using namespace std;
int main(){
int action;
cout << "have this show up first" << endl;
cout << "then have an if statement here" << endl;
cin >> action;
if (action == 1){
cout << "then have this show up but none of the above text ^^." << endl;
}
system("pause");
return 0;
}
how would i do that so it does what it says in the "cout"?