I think you get the idea of what im TRYING to do.Code:#include <iostream> using namespace std; int main() { int ggg; cout <<"enter a number\n"; cin>>ggg; cin.ignore(); if (ggg == 776 && 777){ cout <<"you entered 776 or 777"; } else { cout <<"bah\n"; } cin.get(); }
now, taking this idea can someone show me how to use it correctly? also with or/not
thanks! im a little confused while reading the tutorial