Else If statement

CSharp · Console

/Program.cs

using System;
					
public class Program
{

public static void Main()

{

int i = 10, j = 20;

if (i == j)
{
    Console.WriteLine("i is equal to j");
}
else if (i > j)
{
    Console.WriteLine("i is greater than j");
}
else if (i < j)
{
    Console.WriteLine("i is less than j");
}

}
}
;