Testing if Either Boolean Expression Is True
#include <iostream> using namespace std; int main(void) { int age; cout << "Enter your age: "; cin >> age; if (age > 7) if (age >= 70) cout << "free"; else cout << "You have to pay"; else cout << "free"; return 0; }