An Armstrong number is a number that is the sum of its owndigits, each raised to the power of the number of its digits. Forexample, 153 is considered an Armstrong number because13 + 53 + 33 = 153.
Write a VBA program that lists all 3-digit Armstrong numberswithin a specified range of 3-digit positive integers. Your subshould do the following: 1) Using two input boxes, ask the user toinput two 3-digit positive integers (a \"lower bound\" and an \"upperbound\" for the range); 2) Enter all Armstrong numbers between thespecified numbers in column A, staring with cell A1. Hints: Usea For Loop. Also, string functions can be used onLONG variables.