×
×
Correct!
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.";
Console.WriteLine(result);
int time = 20;
string result = (time < 18) ? "Good day." : "Good evening.";
Console.WriteLine(result);
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?