21
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int currentHour = 0; // current hour between 0 - 23
8
9
if(/*boolean statement A*/)
10
{
11
Console.WriteLine("Good Morning");
12
}
13
else if (/*boolean statement B*/)
14
{
15
Console.WriteLine("Good Afternoon");
16
}
17
else
18
{
19
Console.WriteLine("Good Night");
20
}
21
}
Cached Result
Compilation error (line 9, col 29): Invalid expression term ')'
Compilation error (line 13, col 35): Invalid expression term ')'
Compilation error (line 21, col 2): } expected
Compilation error (line 7, col 7): The variable 'currentHour' is assigned but its value is never used
Compilation error (line 13, col 35): Invalid expression term ')'
Compilation error (line 21, col 2): } expected
Compilation error (line 7, col 7): The variable 'currentHour' is assigned but its value is never used