using System;
public class Program
{
public static void Main()
// Variable declaration
int x, y, a, b;
// Assignment operator
x = 3;
y = 2;
a = 1;
b = 0;
// There are many mathematical operators ...
// Addition operator
x = 3 + 4;
// Subtraction operator
x = 4 - 3;
// Multiplication operator
x = 10 * 5;
// Division operator
x = 10 / 5;
// Order of operations using parenthesis
x = (x + y) * (a - b);
// There are many operators used to evaluate values ...
// Equality operator
if (x == y)
}
if (x > y)
// Less than operator
if (x < y)
// Greater or equal to operator
if (x >= y)
// Less than or equal to operator
if (x <= y)
if ((x > y) && (a > b))
if ((x > y) || (a > b))
Console.WriteLine("hey dudes");
Console.WriteLine(x);