Program to check if the given number is an Armstrong Number or not – C#

For this question you must understand what an Armstrong Number is. So a number is an Armstrong number if it is equal to the sum of the cubes of all its digits.
Example : 371 = (3*3*3) + (7*7*7) + (1*1*1)

namespace ArmstrongDemo
{
    class Program
    {
        int num, sum, arm, rem = 0;
        static void Main(string[] args)
        {
            Program p1 = new Program();
            p1.input();
            Console.ReadLine();
        }

        public void input()
        {
            Console.WriteLine("Enter a number ");
            num = Convert.ToInt32(Console.ReadLine());
            arm = num;
            while (num > 0)
            {
                rem = num % 10;
                sum = sum + (rem * rem * rem);
                num = num / 10;
            }

            if (arm == sum)
            {
                Console.WriteLine("Yes It's a Armstrong Number!!");
            }

            else
            {
                Console.WriteLine("No It's not an Armstrong Number!!");
            }
        }
    }
}

OUTPUT

Armstrong