#include using namespace std; int main() { // Height in inches. int height; // Person's age. int age; cout << "Please enter your age: "; cin >> age; cout << "Please enter your height in inches: "; cin >> height; // If the person is 16 years or older or 5 feet or over // tall they can go on the ride. if(age>=16 || height>=60) cout << "You can go on the Ferris Wheel" << endl; else cout << "Sorry you are unable to ride the Ferris Wheel."<< endl; // If the person is 16 years or older AND 5 feet or over // tall they can go on the ride. if(age>=16 && height>=60) cout << "You can go on the Roller Coaster"<< endl; else cout << "Sorry you are unable to ride the Roller Coaster."<< endl; return 0; }