Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
Menu
×
×
Correct!
Exercise:
Print "Hello World" if x is greater thany.
int x = 50;
int y = 10;
@(2) (x @(1) y)
{
Console.WriteLine("Hello World");
}
int x = 50;
int y = 10;
if (x > y)
{
Console.WriteLine("Hello World");
}