Problem Statement:

Create a PHP script which finds out whether a given number is Armstrong number or not. (Note: Assign a number to a variable if needed)

Source Code:

ex4.php

Output:

Click here for output