cout << "Hyra (3798): "; getline(cin, getlineOutput); stringstream str(getlineOutput); str >> hyra; if (hyra == 0) { hyra = 3798; } cout << hyra;