Run »
#include
#include
using namespace std; int main() { int time = 20; string result = (time < 18) ? "Good day." : "Good evening."; cout << result; return 0; }
Good evening.