jae-l
5/30/2017 - 4:12 PM

Basic example of an if else statement.

Basic example of an if else statement.

int n = 3;
int m = 8;

if (n > m)
{
  Console.WriteLine("n is greater than m");
}
else
{
  Console.WriteLine("n is not greater than m");
}

//  n is not greater than m