Menu
×
×
Correct!
Exercise:Insert the missing parts to complete the following "short hand
int time = 20;
string result = @(1)time < 18@(1) @(1) "Good day." @(1) "Good evening.";
cout << result;
int time = 20;
string result = (time < 18) ? "Good day." : "Good evening.";
cout << result;
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?