18 lines
379 B
C#
18 lines
379 B
C#
namespace Exercises_C_Sharp.E08_If
|
|
{
|
|
class Exercise_13
|
|
{
|
|
public static void Start()
|
|
{
|
|
//Sorgen Sie dafür, dass auf der Konsole immer "Hallo!" ausgegeben wird.
|
|
bool b = true;
|
|
bool c = false;
|
|
|
|
|
|
if(b /*Code START*/&&/*Code ENDE*/ c)
|
|
Console.WriteLine("Hallo!");
|
|
|
|
|
|
}
|
|
}
|
|
} |