Nested If Program - C# Program

using System;
namespace NestedIf
{
    class Program
    {
        static void Main(string[] args)
        {
            int A, B,C;
            Console.WriteLine("Enter Value of A,B and C ");
            A = Convert.ToInt32(Console.ReadLine());
            B = Convert.ToInt32(Console.ReadLine());
            C = Convert.ToInt32(Console.ReadLine());
            if(A>B)
            {
                if (A > C)
                    Console.WriteLine("A is Largest");
                else
                    Console.WriteLine("C is Largest");
            }
            else
            {
                if (B > C)
                    Console.WriteLine("B is Largest");
                else
                    Console.WriteLine("C is Largest");
            }
        }
    }
}

The output from this program is shown here:

Enter the value of A: 22
Enter the value of B: 10
Enter the value of C: 5
    
A is Largest