Starter Tutorials

A tutorial site for beginners!

Starter tutorials contains well written tutorials on various technologies. Simple examples have been provided through out the tutorials to help the beginners understand them in a easy way.

Go to Blog »

Problem Statement


Create a script to read a number and print whether the given number is an Armstrong number or not. (Note: You have to use Math.floor( ) method)


Source Code


ex4.html


ex4script.js


Output:

Click here for output