Logical Or operator
#include <iostream> using namespace std; int main(void) { int age; cout << "Enter your age: "; cin >> age; if (age <= 12 || age >= 65) cout << "Admission is free"; else cout << "You have to pay"; return 0; }