#include main() { int OT_hours, wages = 8000; cout << "Number of overtime hours? "; cin >> OT_hours; if (OT_hours > 30) { cout << "Maximum OT hours is 30" << endl; OT_hours = 30; } wages += OT_hours * 50; cout << "Wages: $" << wages << endl; return 0; }